Hacker News new | ask | show | jobs
by curiouscoding 329 days ago
Another remark:

If you benchmark it as something like `for q in queries { contains(q); }`, especially the branchless variants are probably executed in parallel by the CPU, and you are measuring throughput instead of latency. That may or may not be relevant depending on the application.

1 comments

Hm, that's actually may be true, thank you for the heads-up