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? /be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

