diff options
author | 2021-02-22 07:09:06 +0000 | |
---|---|---|
committer | 2021-02-22 07:09:06 +0000 | |
commit | 7310ea029c1ab49d65cdfbdb86265a4225f3403d (patch) | |
tree | 7bf87804db59f4c8fc62a80e02cac94bb22d1a8b /usr.bin/tmux/tmux.c | |
parent | Move jump commands to grid reader, make them UTF-8 aware, and tidy up, (diff) | |
download | wireguard-openbsd-7310ea029c1ab49d65cdfbdb86265a4225f3403d.tar.xz wireguard-openbsd-7310ea029c1ab49d65cdfbdb86265a4225f3403d.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 'usr.bin/tmux/tmux.c')
0 files changed, 0 insertions, 0 deletions