3 ms·
this does lexicographical comparison, not just equality
by NegativeLatency 10y ago
this does lexicographical comparison, not just equality
- masklinn 10y agoIt can do more than just string equality too (the first operand can be treated as a character sequence, a character set, a substring needle or a union of character ranges) Though for all that it's still limited to simplistic comparisons of non-textual strings.
- stephencanon 10y agoIt's no faster at that either. You need to be doing something more interesting like prefix scanning for these instructions to be beneficial.