summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2021-02-22 07:09:06 +0000
committernicm <nicm@openbsd.org>2021-02-22 07:09:06 +0000
commit7310ea029c1ab49d65cdfbdb86265a4225f3403d (patch)
tree7bf87804db59f4c8fc62a80e02cac94bb22d1a8b /usr.bin/tmux/tmux.c
parentMove jump commands to grid reader, make them UTF-8 aware, and tidy up, (diff)
downloadwireguard-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