Files
ladybird/Userland/Libraries/LibJS/Runtime/ECMAScriptFunctionObject.cpp
Aliaksandr Kalenik f21c0f9dcd LibJS: Skip some declarative env allocations in function instantiation
If all lexical declaration use local variables then there is no need
to allocate declarative environment.

With this change we skip ~3x more environment allocations on Github.
2024-05-06 15:09:20 +02:00

63 KiB