diff options
author | Christoph Heinrich <christoph.heinrich@student.tugraz.at> | 2023-09-27 21:44:52 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-11-07 01:36:59 +0000 |
commit | ff131d7a20c50a678f6af820adf8ab2e3493849d (patch) | |
tree | 642b4727182301bd4daa03e168be5f7f06187680 /player/lua/options.lua | |
parent | bca0b20c098dbaca3d40d366698aa4c2cabb972b (diff) | |
download | mpv-ff131d7a20c50a678f6af820adf8ab2e3493849d.tar.bz2 mpv-ff131d7a20c50a678f6af820adf8ab2e3493849d.tar.xz |
console: optimize table generation
Showing all properties was terribly slow.
Instead of starting at one row and increasing the row count until it
fits, the column count can be increased until it doesn't fit anymore.
That alone already reduces the required iterations, but from the column
count an upper and lower bound for the row count can be calculated.
For large tables this dramatically reduces the amount of iterations.
Diffstat (limited to 'player/lua/options.lua')
0 files changed, 0 insertions, 0 deletions