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: Lennart Borgman
Subject: Re: Why are there two dolist?
Date: Wed, 12 Aug 2009 01:41:57 +0200

On Wed, Aug 12, 2009 at 1:34 AM, Miles Bader<address@hidden> wrote:
> 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.


How about a notion in the doc string of them on the differences? And
how to get the correct version during compilation? (If that is
possible...)




reply via email to

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