Why `toUpper` in case insensitive search?

Patrick Stephan <[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <f6987646-6232-41d4-a5ff-59d92ae13fb5@Spark>
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

_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.