efficiency of let vs. let*

From: Alexandru Harsanyi (harsanyi_at_mac.com)
Date: 07/29/04


Date: Thu, 29 Jul 2004 13:53:48 GMT


Just out of curiosity I looked at the eval implementation for GNU
Emacs (eval.c file), and noticed that the implementation of let* seems
more efficient that the implementation of let. The later involves
allocating a temporary array to hold the values from evaluating the
forms before binding them to the variables.

I'm wondering if this is true in all LISP implementations?

I don't think the speed difference between let and let* very big, so
it doesn't really matter, but I'm just curious :-)

Thanks,
Alex.



Relevant Pages

  • Emacs 23.1 released
    ... GNU Emacs 23.1 has been released. ... Here are some new features of Emacs 23. ... Please send bug reports to bug-gnu-emacs@xxxxxxxx You can use the ... that the Carbon port has been removed; ...
    (gnu.announce)
  • Re: the ~ after the file names
    ... Some editors, such as emacs, even go one step further, allowing for ... Thanksfully, (gnu) ls help us avoid seeing all this cruft, with the -B ... [pjb@thalassa encours]$ ls -l | grep virtual ... My advice would be to use GNU ls, to set up an alias for ls with -B, ...
    (comp.unix.questions)
  • Re: [Emacs] externe Tools und Bibliotheken
    ... ob die FSF den Ausdruck "GNU Operating System" ... dass die Menge an Software nach oben hin offen zu sein scheint. ... debianutils Miscellaneous utilities specific to ... oder andere Programm fehlen für das Emacs ein Interface anbietet. ...
    (de.comp.editoren)
  • Re: Best editor?
    ... >> Overall, Vim is also cleaner than Emacs, and this pleases me. ... > GNU Emacs vs. vim) I've always used GNU Emacs, ... > impression that XEmacs is cleaner in some ways. ...
    (comp.lang.python)
  • Re: [Emacs] Fragen an Entwickler
    ... > On Tue, Jan 24 2006, Stefan Reuther wrote: ... Aber es ist ein Emacs. ... das heutzutage von GNU angeboten wird. ... Next by Date: ...
    (de.comp.editoren)