emacs-devel
[Top][All Lists]
Advanced

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

Re: Why are there two dolist?


From: Miles Bader
Subject: Re: Why are there two dolist?
Date: Wed, 12 Aug 2009 08:34:49 +0900

Harald Hanche-Olsen <address@hidden> writes:
>> > I haven't looked at the code (recently), but because elisp doesn't
>> > natively support lexical blocks, I suspect the cl-macs version either
>> > (1) adds unnecessary runtime overhead, or (2) drags in lots of big and
>> > crufty compile-time analysis code (cl.el has lots of this) to optimize
>> > away the block when not used.
>
> Actually, the cl-macs version looks pretty simple to me.

Right, I checked -- it actually just incurs run-time overhead... :/

Anyway, the two-dolists are not the prettiest thing in the world, but
they work fine, and there's a reason for having them.

-miles

-- 
Do not taunt Happy Fun Ball.




reply via email to

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