summaryrefslogtreecommitdiff
path: root/src/command_manager.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2023-02-13 22:51:53 +1100
committerMaxime Coste <mawww@kakoune.org>2023-02-14 07:04:54 +1100
commitd708b77186c1685dcbd2298246ada7d204acec2f (patch)
tree2413cf2309fe23de7624f720169eed89bd5d6b98 /src/command_manager.cc
parent762064dc68a703c5010adcfed263393f51c1c28f (diff)
Refactor DualThreadStack as a RingBuffer
Instead of two stacks growing from the two ends of a buffer, use a ring buffer growing from the same mid spot. This avoids the costly memory copy every step when we set next threads as the current ones.
Diffstat (limited to 'src/command_manager.cc')
0 files changed, 0 insertions, 0 deletions