diff options
author | nicm <nicm> | 2021-02-22 07:09:06 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-02-22 07:09:06 +0000 |
commit | e858270006a9041b9016ed9e6cc12d622ac8fe31 (patch) | |
tree | 75fef148467581c76f1adf59887f67a7877f2bfa /tmux.c | |
parent | 8986c8dfcd0083e5c767b8a247c119a25e1f8093 (diff) | |
download | rtmux-e858270006a9041b9016ed9e6cc12d622ac8fe31.tar.gz rtmux-e858270006a9041b9016ed9e6cc12d622ac8fe31.tar.bz2 rtmux-e858270006a9041b9016ed9e6cc12d622ac8fe31.zip |
There are many format variables now so allocating all the default ones
each time a tree is created is too expensive. Instead, convert them all
into callbacks and put them in a static table so they only allocate on
demand. The tree remains for the moment for extra (non-default)
variables added by for example copy mode or popups. Also reduce
expensive calls to localtime_r/strftime. GitHub issue 2253.
Diffstat (limited to 'tmux.c')
0 files changed, 0 insertions, 0 deletions