mirror of
https://github.com/brues-code/Vanilla_MikScrollingBattleText.git
synced 2026-11-02 17:56:55 +00:00
Replace MikTRO with a ClassicAPI object pool
Animation event tables now come from CreateUnsecuredObjectPool and are wiped on release, keeping garbage down under 1.12's stop-the-world GC. Release the tables that were previously dropped for the GC (hidden events, the power-gain early return), and make /msbt stats report the number of tables in use as a leak check.
This commit is contained in:
@@ -48,7 +48,7 @@ MikSBT.COMMAND_USAGE = {
|
||||
" " .. MikSBT.COMMAND_DISABLE .. " - Disables the mod.",
|
||||
" " .. MikSBT.COMMAND_ENABLE .. " - Enables the mod.",
|
||||
" " .. MikSBT.COMMAND_SHOWVER .. " - Shows the current version.",
|
||||
" " .. MikSBT.COMMAND_STATS .. " - Reports stats about table recycling.",
|
||||
" " .. MikSBT.COMMAND_STATS .. " - Reports how many pooled event tables are in use.",
|
||||
" " .. MikSBT.COMMAND_SEARCH .. " filter - Sets a filter for searching event types.",
|
||||
" " .. MikSBT.COMMAND_DEBUG .. " - Toggles debug mode.",
|
||||
" " .. MikSBT.COMMAND_HELP .. " - Show the command usage.",
|
||||
|
||||
Reference in New Issue
Block a user