[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lexical binding doesn't seem to be faster?
From: |
tomas |
Subject: |
Re: Lexical binding doesn't seem to be faster? |
Date: |
Fri, 8 Mar 2019 09:30:55 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Mar 08, 2019 at 12:39:09AM -0500, Stefan Monnier wrote:
[...]
> FWIW, the usual case where lexical-binding leads to bigger&slower code
> is when you pass a lambda-expression to another function and that
> lambda-expression has free variables (in the lexical-binding case, it
> requires building a closure which is rather costly currently, whereas in
> the dynamic-binding case it relies on the dynamic-scoping instead).
Let's see if I got that right: in those cases, the code would (most
probably!) behave differently depending on the binding regime (lexical
vs dynamic), so it would be doing quite different things in each case?
Cheers
-- t
signature.asc
Description: Digital signature
- Lexical binding doesn't seem to be faster?, Hi-Angel, 2019/03/06
- Re: Lexical binding doesn't seem to be faster?, Stefan Monnier, 2019/03/08
- Re: Lexical binding doesn't seem to be faster?,
tomas <=
- Re: Lexical binding doesn't seem to be faster?, Hi-Angel, 2019/03/08
- Re: Lexical binding doesn't seem to be faster?, Stefan Monnier, 2019/03/09
- Re: Lexical binding doesn't seem to be faster?, Hi-Angel, 2019/03/10
- Re: Lexical binding doesn't seem to be faster?, Hi-Angel, 2019/03/10
- Re: Lexical binding doesn't seem to be faster?, Stefan Monnier, 2019/03/10
- Re: Lexical binding doesn't seem to be faster?, Hi-Angel, 2019/03/10
- Re: Lexical binding doesn't seem to be faster?, Stefan Monnier, 2019/03/10
- Re: Lexical binding doesn't seem to be faster?, Hi-Angel, 2019/03/10