Hacker News new | ask | show | jobs
by andrewaylett 880 days ago
You mean like this one?

https://github.com/seanmonstar/httparse/pull/86/files#diff-4...

1 comments

Follow up -- the benchmarks on that PR look poor, but the benchmarks don't actually quite measure what they're expected to measure -- they're not black-boxing inputs, so the compiler has an opportunity to constant-fold in some cases.

I raised a PR to fix the benchmarks: https://github.com/seanmonstar/httparse/pull/151