mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-04 10:50:54 +01:00
Update docs/_posts/2021-08-31-luau-recap-august-2021.md
Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
This commit is contained in:
parent
4e0e5416ff
commit
f776f54239
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue