diff --git a/docs/_posts/2022-06-01-luau-recap-may-2022.md b/docs/_posts/2022-06-01-luau-recap-may-2022.md index 86d08b7d..500e6e4a 100644 --- a/docs/_posts/2022-06-01-luau-recap-may-2022.md +++ b/docs/_posts/2022-06-01-luau-recap-may-2022.md @@ -90,7 +90,7 @@ Returning a type-cast local (`return a :: type`) as well as returning multiple l ### 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. +In the open-source release of Luau, when optimization level 2 is enabled, the compiler will now perform function inlining and loop unrolling. Only loops with loop bounds known at compile time, such as `for i=1,4 do`, can be unrolled. The loop body must be simple enough for the optimization to be profitable; compiler uses heuristics to estimate the performance benefit and automatically decide if unrolling should be performed.