Open
Bug 732814
Opened 12 years ago
Updated 2 years ago
Add case-insensitive string hash functions to mfbt and use them where appropriate
Categories
(Core :: MFBT, defect)
Core
MFBT
Tracking
()
NEW
People
(Reporter: justin.lebar+bug, Unassigned)
References
Details
We probably want four hash functions: 1) "Correct" ASCII lower-case, which converts to ASCII lower-case before hashing 2) "Fast" ASCII lower-case, which hashes |c & 0x20| 3) Correct UTF16 lower-case (1) is useful for a hash in nsHttp.cpp (2) is useful for nsStaticNameTable.cpp. (3) is useful for nsStringCaseInsensitiveHashKey in nsHashKeys.h.
Reporter | ||
Comment 1•12 years ago
|
||
> We probably want four hash functions:
erm, I guess that's three, isn't it? (The fourth would be "Correct UTF8 lower-case", which doesn't have a potential user in the code that I see.)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•