One more optimization

This commit is contained in:
Vyacheslav Egorov 2022-06-01 18:37:07 +03:00
parent f0f94a0e35
commit 2c63c56012

View file

@ -86,6 +86,8 @@ end
Garbage collection CPU utilization has been tuned to further reduce frame time spikes of individual collection steps and to bring different GC stages to the same level of CPU utilization.
Returning a type-cast local (`return a :: type`) as well as returning multiple local variables (`return a, b, c`) is now a little bit more efficient.
### Function inlining and loop unrolling
In open-source release of Luau, when optimization level 2 is enabled, compiler will now perform function inlining and loop unrolling.