From f776f54239c9ed14b285554dcf2256c3fe03837f Mon Sep 17 00:00:00 2001 From: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com> Date: Tue, 31 Aug 2021 14:28:34 +0300 Subject: [PATCH] Update docs/_posts/2021-08-31-luau-recap-august-2021.md Co-authored-by: Arseny Kapoulkine --- docs/_posts/2021-08-31-luau-recap-august-2021.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_posts/2021-08-31-luau-recap-august-2021.md b/docs/_posts/2021-08-31-luau-recap-august-2021.md index 6c4cb2ce..c122d569 100644 --- a/docs/_posts/2021-08-31-luau-recap-august-2021.md +++ b/docs/_posts/2021-08-31-luau-recap-august-2021.md @@ -96,7 +96,7 @@ Our UnknownType linter warning was extended to check for correct class names pas We have added an optimization to 'table.unpack' for 2x performance improvement. -One extra optimization for tables is to predict required table size based on fields that are assigned to it in the code after construction. +We've also implemented an extra optimization for tables to predict required table capacity based on fields that are assigned to it in the code after construction. This can reduce the need to reallocate tables. Another optimization this month changes the location and rate of garbage collection invocations. We now try to avoid calling GC during the script execution and perform all the work in the GcJob part of the frame (it could be seen in the performance profiler). When possible, we can now skip that job in the frame completely, if we have some memory budget available.