mpv/player/lua
wm4 c2ee7bce4c console: reduce memory usage in default mode
This used 1 MB due to building the complete command and property list
when starting the script. These are needed only for auto-completion, so
build them only on demand. Since building them is fast enough, rebuild
them every time.

The key bindings table is not that much, but saves some KBs. Oddly, the
code to build it uses less memory than the table at runtime (???), so
build it at runtime as well.

Add 2 tactic collectgarbage() calls as well. This frees unused heap when
it is known that the script is going to be completely inactive until
re-enabled by the user.
2020-04-10 13:36:10 +02:00
..
assdraw.lua
console.lua console: reduce memory usage in default mode 2020-04-10 13:36:10 +02:00
defaults.lua lua: restore recent end-file event, and deprecate it 2020-03-22 19:42:59 +01:00
options.lua options.lua: avoid unnecessary on_update calls 2020-02-06 22:57:53 +01:00
osc.lua osc: avoid using a deprecated event 2020-03-21 19:32:50 +01:00
stats.lua stats: fix crash if both plot_vsync_* options are disabled 2020-04-09 15:03:17 +02:00
ytdl_hook.lua ytdl_hook: enable runtime changes of script options 2020-03-29 17:45:59 +02:00