[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lexical binding: why?

From: Dmitry Gutov
Subject: Re: Lexical binding: why?
Date: Tue, 28 May 2019 16:02:53 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 28.05.2019 15:26, Stefan Monnier wrote:
IIRC some operation in the js2 code was significantly slowed down (in
Emacs-24) by lexical-binding and then (less significantly but still
significantly) sped up when the new condition-case byte-codes were
introduced in 24.4 (and used by default since Emacs-25), so there are
some cases, but by and large I wouldn't expect any major change.

I think js2-mode in lexical-binding is still ~10% slower than the dynamic binding mode, but we switched over anyway because of the sounder scoping model and better compiler diagnostics.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]