mirror of https://github.com/mpv-player/mpv
19a37f625f
Reuse common_prefix_length() to make find_common_prefix() shorter and faster by not creating many temporary strings. The decrease in the average time to run find_common_prefix() over 1000 calls I measured is: set \<Tab>: 1e-4s -> 1e-5s set s\Tab>: 1e-5s -> 5e-6s |
||
---|---|---|
.. | ||
assdraw.lua | ||
auto_profiles.lua | ||
console.lua | ||
defaults.lua | ||
meson.build | ||
options.lua | ||
osc.lua | ||
stats.lua | ||
ytdl_hook.lua |