Create memory-free ASCII case-insensitive matching
Closed this issue · 1 comments
client9 commented
The dumb way to do case-insentive match is convert to upper-case when creating dictionary, and upper-case when doing a search. However, this using the ToUpper
make a copy (even for []byte
) and does full UTF-8 case folding which is slow and inappropriate for this use case.
nickg-sigsci commented
fixed