Open shibukawa opened 11 years ago
It store position of upper case char, and create an index with lower case. https://github.com/tuchida/oktavia/commit/3e1b7b1486ed07a26a976ab9959a8b60fd9aad5d
Probably, _upperChars
is sparse bit vector because upper case characters is less (in the case of Japanese in particular). There should be efficient implementation than BitVector
.
When I tried, the size of the search index increase about 2%.
"class" is not match with "Class".