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

If both the comparison function as well as the sort function which the comparison function is passed to are declared 'static inline' and available in a header, the compiler is smart enough to figure it out and inline the code, provided optimizations are turned on.


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

Search: