emacs-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Why is lexical binding so slow?
From
:
Philipp Stephani
Subject
:
Why is lexical binding so slow?
Date
:
Sun, 02 Jul 2017 18:15:20 +0000
Hi,
the manual states (
https://www.gnu.org/software/emacs/manual/html_node/elisp/Lexical-Binding.html
):
"Lexical binding opens up many more opportunities for optimization, so programs using it are likely to run faster in future Emacs versions."
However, in practice, at least some libraries are significantly slower with lexical binding, cf.
https://github.com/mooz/js2-mode/issues/426#issuecomment-312506855
.
Why is that? Shouldn't code compiled with lexical binding be at least as fast as code compiled with dynamic binding?
Philipp
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Why is lexical binding so slow?
,
Philipp Stephani
<=
Re: Why is lexical binding so slow?
,
Stefan Monnier
,
2017/07/02
Prev by Date:
Re: Emacs Lisp container
Next by Date:
Re: Why is lexical binding so slow?
Previous by thread:
Re: Emacs Lisp container
Next by thread:
Re: Why is lexical binding so slow?
Index(es):
Date
Thread