4 ms·
Doesn't bstr replace memchr? Unsure if it replaces bytecount.
by epage 4y ago
Doesn't bstr replace memchr? Unsure if it replaces bytecount.
- burntsushi 4y agoNo. bstr depends on memchr. bytecount is faster than memchr for counting occurrences for bytes. It doesn't have to stop and report offsets. It can just zip through and count.