[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14892: [PATCH] Enhance Elisp compare functions (< <= > >=) to take v

From: Stefan Monnier
Subject: bug#14892: [PATCH] Enhance Elisp compare functions (< <= > >=) to take var args
Date: Fri, 06 Sep 2013 22:28:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Here is a patch to implement this. The tests in the patch pass.

Do you have some performance numbers?

> I didn't do /=. If I implement /= with Fsort, then it won't behave
> quite like in other Lisps.

That kind of compatibility is not very important.

> In SBCL:
>   (/= 1 2 3 'foo) signals error
>   (/= 1 2 1 'foo) evaluates to NIL

> To not get an error for the latter, I would want to use a hash map or
> tree map.  Are either of these ready-available to Emacs C code?

We have hash-tables implemented in C, yes.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]