diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-04-27 13:50:44 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-04-27 13:50:44 +0000 |
| commit | 3f3fff768aebe4d1a7822bbe3ecc3e68a3023c8f (patch) | |
| tree | 0daab7006eae1bbd06b378052bf6fdf067214322 /doc | |
| parent | vt: action_utf8_print: idx is cleared in action_clear() (diff) | |
vt: lazily reset utf8 in action_utf8_*_entry
action_clear() is in the super hot code path. Avoid resetting utf8
state there, as utf8 input is relatively uncommon.
Instead, reset it when we explicitly enter any of the utf8 collecting
states, as this is exactly the point where we need it.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
