diff options
author | Neil <nyamatongwe@gmail.com> | 2022-12-02 09:48:42 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-12-02 09:48:42 +1100 |
commit | 85dd43cb420a7be3cd5ec2520f55685327978af0 (patch) | |
tree | 2c153e9f18f9f46cf9cd46eabd6a4a2ccff1c890 /src/Geometry.cxx | |
parent | 2a15393d36841175ffc27cac959bbc49af40ff29 (diff) | |
download | scintilla-mirror-85dd43cb420a7be3cd5ec2520f55685327978af0.tar.gz |
Detangle ASCII and multi-byte code for case-insenstive UTF-8 searches.
This avoids some work for the common case of ASCII text, which can reduce time
taken for search in text that is ASCII or almost-all ASCII by 30%.
Ensures that the bytes variable is always initialized.
There are a small gains possible by making other minor changes but they would
increase code length and add complexity.
Add performance test for UTF-8 search in almost-all ASCII document.
Increase size of test cases for more consistent results on faster computers.
Diffstat (limited to 'src/Geometry.cxx')
0 files changed, 0 insertions, 0 deletions