guile-devel
[Top][All Lists]
Advanced

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

Re: Status Update, Elisp Compiler


From: Mark H Weaver
Subject: Re: Status Update, Elisp Compiler
Date: Sat, 5 Sep 2009 21:13:48 -0400

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

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