[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: describe-prefix-bindings uses let* but could use let
From: |
Miles Bader |
Subject: |
Re: describe-prefix-bindings uses let* but could use let |
Date: |
Fri, 15 Sep 2006 13:46:19 +0900 |
Stefan Monnier <address@hidden> writes:
> Actually, sometimes using let* instead of let (when defining several vars)
> can result in more efficient byte-code.
I thought they generally resulted in more or less the same bytecode, the
only difference being whether the "varbind" byte-ops were interleaved
with the init expressions, or all bunched up at the end...
E.g. `let' is:
INIT1
INIT2
....
varbind V2
varbind V1
....
unbind N
and `let*' is:
INIT1
varbind V1
INIT2
varbind V2
....
unbind N
-Miles
--
"I distrust a research person who is always obviously busy on a task."
--Robert Frosch, VP, GM Research