mozilla-spidermonkey / jsparagus

Experimental JS parser-generator project.
Other
447 stars 20 forks source link

Avoid allocation by baking-in current lookahead range in the simulator. #587

Closed nbp closed 4 years ago

nbp commented 4 years ago

This fixes #586 by baking it the currently assumed lookahead necessary to be replayed in the simulator. This improves the relative SpiderMonkey parser speed from ~3.43 to ~3.00.