From d0aec19450d8517ec1fa681c632d7e4517b10218 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Fri, 11 Jun 2021 12:22:38 -0700 Subject: [PATCH] Update performance.md --- docs/_pages/performance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_pages/performance.md b/docs/_pages/performance.md index 02bd90d1..644f911c 100644 --- a/docs/_pages/performance.md +++ b/docs/_pages/performance.md @@ -144,4 +144,4 @@ In addition to a fast allocator, all frequently used structures in Luau have bee While the best performing code in Luau spends most of the time in the interpreter, performance of the standard library functions is critical to some applications. In addition to specializing many small and simple functions using the builtin call mechanism, we spend extra care on optimizing all library functions and providing additional functions beyond the Lua standard library that help achieve good performance with idiomatic code. -For example, functions like `insert`, `remove` and `move` from the standard library have been tuned for performance on array-like tables, achieving 3x and more performance compared to un-tuned versions, and Luau provides functions like `table.create` and `table.find` to achieve further speedup when applicable. We also use a carefully tuned dynamic string buffer implementation for internal `string` library to reduce garbage created during string manipulation. +For example, functions like `insert`, `remove` and `move` from the `table` library have been tuned for performance on array-like tables, achieving 3x and more performance compared to un-tuned versions, and Luau provides functions like `table.create` and `table.find` to achieve further speedup when applicable. We also use a carefully tuned dynamic string buffer implementation for internal `string` library to reduce garbage created during string manipulation.