From ce429441ee8dcc4ef58c3aac7ffe9e208d91dfbd Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 13:11:08 -0800 Subject: wrote an entry for table.shrink --- .../newview/app_settings/keywords_lua_default.xml | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index aedac613ba..68d8188f4d 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -15697,6 +15697,43 @@ Returns true if result is non-zero. tooltip Removes and returns the element at the specified index from the array, or from the end of the array. + table.shrink + + type-arguments + + K + V + + arguments + + + t + + tooltip + Table to shrink. + type + {[K]: V} + + + + reorder + + tooltip + Allow moving sparse array elements to hash table storage. + type + boolean? + + + + energy + 10 + return + {[K]: V} + sleep + 0 + tooltip + Reduces the memory usage of the table to the minimum necessary. + table.sort type-arguments -- cgit v1.3