summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-03-13 23:45:51 +1100
committerMaxime Coste <mawww@kakoune.org>2024-03-13 23:45:51 +1100
commit83f12fc8e9576225760d3fefd042391b3f802548 (patch)
tree480470c353f2f12119bc49d6df001fb522f6efab /src/input_handler.cc
parentc4df0fac52c83fe68b7f583de1f419c976645dc0 (diff)
Avoid clearing iterator buffer on saves allocation
When creating a new save, we had to clear all iterators to have valid values. This operation is relatively costly because it gets optimized to a memset whose call overhead is pretty high (as we usually have less than 32 bytes to clear). Bypass this by storing a bitmap of valid iterators.
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions