Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
burntsushi
on June 22, 2023
|
parent
|
context
|
favorite
| on:
Do you know how much your computer can do in a sec...
I don't think KMP has been used in any practical substring implementation in ages. At least I'm not aware of one. I believe GNU grep uses Boyer-Moore, but that's not really the key here. The key is using memchr in BM's skip loop.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: