[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lexical mumblings
From: |
Stefan Monnier |
Subject: |
Re: lexical mumblings |
Date: |
Tue, 30 Oct 2001 11:42:56 -0500 |
> > There are other benefits too, of course
> And if Emacs ever gets multiprocessing on the Lisp level, context
> switches become cheaper with lexical bindings (you'll have to
> unbind/rebind the special bindings stack when switching from one Lisp
> process to another.)
Another one is that if we can expect the large majority
of variables to be statically scoped, then we can afford slower
dynamic variables (f.ex. we can more easily add things like watchers,
or text-local variables (where the value depends on text-properties)
or whatever else strikes our fancy).
But personally, I find the main benefit is the prospect of
making function calls faster and of having efficient closures
(rather than building lambda terms at run-time which then get
interpreted).
Stefan
- Re: lexical mumblings, (continued)
- Re: lexical mumblings, Richard Stallman, 2001/10/21
- Re: lexical mumblings, Miles Bader, 2001/10/24
- Re: lexical mumblings, Richard Stallman, 2001/10/25
- Re: lexical mumblings, Miles Bader, 2001/10/25
- Re: lexical mumblings, Stefan Monnier, 2001/10/26
- Re: lexical mumblings, Miles Bader, 2001/10/26
- Re: lexical mumblings, Miles Bader, 2001/10/27
- Re: lexical mumblings, Andrew Innes, 2001/10/29
- Re: lexical mumblings, Miles Bader, 2001/10/29
- Re: lexical mumblings, Gerd Moellmann, 2001/10/30
- Re: lexical mumblings,
Stefan Monnier <=
- Re: lexical mumblings, Miles Bader, 2001/10/30
- Re: lexical mumblings, Andrew Innes, 2001/10/30
- Re: lexical mumblings, Miles Bader, 2001/10/30
- Re: lexical mumblings, Richard Stallman, 2001/10/31
- Re: lexical mumblings, Miles Bader, 2001/10/31
- Re: lexical mumblings, Richard Stallman, 2001/10/30
- Re: lexical mumblings, Miles Bader, 2001/10/30
- Re: lexical mumblings, Andrew Innes, 2001/10/31
- Re: lexical mumblings, Sam Steingold, 2001/10/26
- Re: lexical mumblings, Richard Stallman, 2001/10/29