From: Miles Bader <miles@gnu.org>
To: Harald Hanche-Olsen <hanche@math.ntnu.no>
Cc: emacs-devel@gnu.org
Subject: Re: Why are there two dolist?
Date: Wed, 12 Aug 2009 08:34:49 +0900 [thread overview]
Message-ID: <874osdncva.fsf@catnip.gol.com> (raw)
In-Reply-To: <20090811.193025.204578572.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Tue, 11 Aug 2009 19:30:25 -0400 (EDT)")
Harald Hanche-Olsen <hanche@math.ntnu.no> 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.
next prev parent reply other threads:[~2009-08-11 23:34 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-11 22:14 Why are there two dolist? Lennart Borgman
2009-08-11 22:36 ` Lennart Borgman
2009-08-12 8:45 ` David Kastrup
2009-08-12 8:52 ` Lennart Borgman
2009-08-11 22:37 ` Miles Bader
2009-08-11 22:42 ` Lennart Borgman
2009-08-11 22:51 ` Miles Bader
2009-08-11 23:04 ` Lennart Borgman
2009-08-11 23:30 ` Harald Hanche-Olsen
2009-08-11 23:34 ` Miles Bader [this message]
2009-08-11 23:41 ` Lennart Borgman
2009-08-11 23:48 ` Miles Bader
2009-08-11 23:39 ` Lennart Borgman
2009-08-12 0:27 ` Harald Hanche-Olsen
2009-08-12 0:33 ` Lennart Borgman
2009-08-12 0:54 ` Miles Bader
2009-08-12 0:59 ` Lennart Borgman
2009-08-12 1:24 ` Harald Hanche-Olsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874osdncva.fsf@catnip.gol.com \
--to=miles@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=hanche@math.ntnu.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).