[sword-devel] Why `toUpper` in case insensitive search?
Patrick Stephan
pstephan1187 at gmail.com
Fri May 5 01:42:15 EDT 2023
Just curious if there was a reason case insensitive searching was done with `toUpper` instead of `toLower`? In some of my own testing (using multi-word search), searching for "God so loved" would take 3.5 seconds using `toUpper`, but only 0.5 seconds for `toLower`. I'm guessing because fewer characters are needing to be converted.
- Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20230505/7986faa6/attachment.htm>
More information about the sword-devel
mailing list