Daniel Kraft wrote:
> 4) I've not done anything yet regarding converting '() -> %nil in lists  
> that are seen from elisp; I think the final conclusion was that we want  
> such a conversion, and so I will do that.  But maybe I can try if it is  
> reasonably possible to allow switching it off to regain performance  
> without?  Maybe also allow switching off the #f -> %nil conversion for  
> booleans (t = #t).

I thought the point of the %nil work was to avoid the need for such
conversions.  My %nil patch (in progress) includes a fast macro for
boolean testing from lisp, which considers (), #f, and %nil to all be
false.

If it is common to test for %nil using eq, then we could provide a
special eq which treats (), #f, and %nil as equal, part of the same
equivalence class.

> PS: I just remembered that the Elisp compiler still uses #f as %nil,  
> although it can be switched easily at a single place.  What's the status  
> of the patch fixing %nil false-ness?

I'm working on an updated version of it.

     Mark


Reply via email to