mozilla-spidermonkey / jsparagus

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

Fold Replay and Unwind action. #600

Closed nbp closed 4 years ago

nbp commented 4 years ago

When Replay precedes an Unwind action, we can remove as many replayed terms from the Unwind action, thus avoiding stack manipulation while replaying and stack manipulation while unwinding.

nbp commented 4 years ago

Real JS benchmarks reports that this is a 8.6% improvement on SmooshMonkey / SpiderMonkey ratio.