4 ms·
Comparing by memcmp will result in false negatives unless you can ensure that all incoming text gets normalized to a particular canonical form.
by PeterisP 3y ago
Comparing by memcmp will result in false negatives unless you can ensure that all incoming text gets normalized to a particular canonical form.
- jandrese 3y agoEven then there are minefields in comparing text, especially case insensitive matching and supporting CKJ.