Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Six of those versions are written in assembler specifically for a particular hardware platform. One is a generic C version. Furthermore, as an example, the amd64 version of memcmp alone has optimisations for at least 14 different cases. Everything from 3DNow! optimisations to optimisations based on data size and alignment.

None of those optimizations matter in this case because the average query string parameter name is only a few characters in length and an inlined naive loop with compiler optimizations will be faster.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: