mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
5b609f15af
We were emitting gobs of inefficient bytecode that created an arguments array on the stack, then applied it to the parent constructor. Add a new opcode for initializing a derived class. Speeds up construction by 500%, although sadly that is not visible in the web-tooling-benchmark, only in micro-benchmarks. Fixes: https://github.com/quickjs-ng/quickjs/issues/752 |
||
---|---|---|
.. | ||
function_source.c | ||
hello.c | ||
hello_module.c | ||
repl.c | ||
standalone.c | ||
test_fib.c |