Throwing errors on mutating immutable bindings
impinball at gmail.com
Fri Oct 3 01:24:49 PDT 2014
I mean that I wasn't thinking straight when I sent that. I'm incorrect
in every detail of that email.
On Thu, Oct 2, 2014 at 6:51 PM, Brendan Eich <brendan at mozilla.org> wrote:
> Isiah Meadows wrote:
>> True, and I don't know of a decently fast ES3/5 parser.
> What is your use-case? For a parser in JS, is
> http://marijnhaverbeke.nl/blog/acorn.html too slow? For C++ hand-coded
> parser, what's your not-decently-fast benchmark basis code?
>> ES6 will be even more complicated, and thus, slower than an equivalence
>> ES3/5 one
> I don't think ES6 adds anything that changes asymptotic complexity.
> Recognizing keywords is still O(k), for example (and k is small and stays
> small in ES6 -- number of leading characters to distinguish, e.g.). More
> productions in a grammar does not make parsers for that grammar slower,
> apart from indirect effects in small memory systems.
> What do you mean here?
More information about the es-discuss