Files
odfstudio/basic/source/inc
Mike Kaganski de81c2545a Related: tdf#144245 Optimize case-insensitive handling
1. Make BasicCollection::implGetIndexForName take OUString again,
after commit f7de7de118 made it take
std::u16string_view. All call sites pass OUStrings, and commit
ef32c3b4f9 made it create OUString
from the argument.
2. Have SbxVariable cache a case-insensitive variant of the name.
It is currently only used in the Collection implementation, but
may be used in other places; Tthe names are case-insensitive in
Basic, and VBA allows non-ASCII characters in names, so this
caching might be useful elsewhere.
3. Skip non-ASCII characters when calculating name hash, to allow
non-ASCII-containing strings still have some hash variance, when
at least some of the first 6 characters are ASCII.

Change-Id: If90ccea2c4b44c34967e6b764b6fab45b2976c40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132493
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-04-04 11:06:00 +02:00
..
2022-01-13 08:26:15 +01:00
2021-11-07 19:20:17 +01:00
2020-09-04 08:57:06 +02:00
2021-09-15 18:57:42 +02:00
2021-09-15 18:57:42 +02:00
2022-01-13 08:26:15 +01:00
2021-09-15 18:57:42 +02:00
2021-12-04 05:01:23 +01:00
2021-09-15 18:57:42 +02:00
2021-09-15 18:57:42 +02:00
2021-09-15 18:57:42 +02:00
2021-09-15 18:57:42 +02:00
2021-09-15 18:57:42 +02:00
2020-09-04 08:57:06 +02:00