From 264bc84b0be8d83979b1b8cd1527719e9950d2bc Mon Sep 17 00:00:00 2001 From: Alexander McCord <11488393+alexmccord@users.noreply.github.com> Date: Tue, 30 Aug 2022 09:33:13 -0700 Subject: [PATCH] Update docs/_posts/2022-08-29-luau-recap-august-2022.md Co-authored-by: Arseny Kapoulkine --- docs/_posts/2022-08-29-luau-recap-august-2022.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_posts/2022-08-29-luau-recap-august-2022.md b/docs/_posts/2022-08-29-luau-recap-august-2022.md index 3b7a333b..c8cb275f 100644 --- a/docs/_posts/2022-08-29-luau-recap-august-2022.md +++ b/docs/_posts/2022-08-29-luau-recap-august-2022.md @@ -162,7 +162,7 @@ local s: string = my_cool_lower("HI") * When calling non-existent methods on tables or strings, `foo:bar` now produces a more precise error message * Improve performance for iteration of tables * Fix a bug with negative zero in vector components when using vectors as table keys -* Compiler can now constant fold builtins under -O2 +* Compiler can now constant fold builtins under -O2, for example `string.byte("A")` is compiled to a constant * Compiler can model the cost of builtins for the purpose of inlining/unrolling * Local reassignment i.e. `local x = y :: T` is free iff neither `x` nor `y` is mutated/captured * Improve debug.traceback performance by 1.15-1.75x depending on the platform