summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortapple <tapplek@gmail.com>2026-01-21 13:11:08 -0800
committertapple <tapplek@gmail.com>2026-01-21 13:11:08 -0800
commitce429441ee8dcc4ef58c3aac7ffe9e208d91dfbd (patch)
treec65bfa582e3494adaedae8146d1856928edf4518
parent9512df38a0b378adf3c055f94ca39d2a9e6a93db (diff)
wrote an entry for table.shrink
-rw-r--r--indra/newview/app_settings/keywords_lua_default.xml37
1 files changed, 37 insertions, 0 deletions
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.</string>
<key>tooltip</key>
<string>Removes and returns the element at the specified index from the array, or from the end of the array.</string>
</map>
+ <key>table.shrink</key>
+ <map>
+ <key>type-arguments</key>
+ <array>
+ <string>K</string>
+ <string>V</string>
+ </array>
+ <key>arguments</key>
+ <array>
+ <map>
+ <key>t</key>
+ <map>
+ <key>tooltip</key>
+ <string>Table to shrink.</string>
+ <key>type</key>
+ <string>{[K]: V}</string>
+ </map>
+ </map>
+ <map>
+ <key>reorder</key>
+ <map>
+ <key>tooltip</key>
+ <string>Allow moving sparse array elements to hash table storage.</string>
+ <key>type</key>
+ <string>boolean?</string>
+ </map>
+ </map>
+ </array>
+ <key>energy</key>
+ <real>10</real>
+ <key>return</key>
+ <string>{[K]: V}</string>
+ <key>sleep</key>
+ <real>0</real>
+ <key>tooltip</key>
+ <string>Reduces the memory usage of the table to the minimum necessary.</string>
+ </map>
<key>table.sort</key>
<map>
<key>type-arguments</key>