Apache OpenOffice (AOO) Bugzilla – Issue 30683
Better hash function for string needed
Last modified: 2017-05-20 11:29:45 UTC
The hash function of the rtl::OUString class is very bad for URL like strings that have larger common parts at the beginning of the string. We need a better string hash function that should be performance optimized for the usage in hash tables (means: good compromise between speed of hashing and number of produced collisions that force the hash table to resolve them by string comparison). BTW: a string hash function that can take both byte and UniCode strings (means: can be called for both and ignores "0" bytes so that ASCII strings and their UniCode representation are recognized as identical) would be great.
accepted
Shelved until there is proven need for it.
Reset assigne to the default "issues@openoffice.apache.org".