Some other engines optimize JS parsing by deferring function body parsing until the function is actually called.
The basic idea is that you parse the function foo(p1, p2) {
part, and then skip ahead until the function's closing }
token. Store the start & end offsets into the original source with the ECMAScriptFunctionObject
, and parse on first call.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too