diff options
| author | Maxime Coste <mawww@kakoune.org> | 2023-02-13 22:51:53 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2023-02-14 07:04:54 +1100 |
| commit | d708b77186c1685dcbd2298246ada7d204acec2f (patch) | |
| tree | 2413cf2309fe23de7624f720169eed89bd5d6b98 /src/input_handler.cc | |
| parent | 762064dc68a703c5010adcfed263393f51c1c28f (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/input_handler.cc')
0 files changed, 0 insertions, 0 deletions
