Hacker News new | ask | show | jobs
by znwu 1151 days ago
A bit of clickbait. Brief explanation of why that huge perf gap on a well-solved problem:

1. The `memcpy` idea is trivial. I know it's there to serve a different argument. But saying "professional" can't think of `memcpy` is clickbait.

2. Having a bad char table makes a totally different algorithm. A "professional" should at least finish reading their textbook, instead of writing the naive algorithm in Version 3.