3 ms·
I think that's a good idea. I remember the days when an optimizer didn't really optimize a function pointer call. Now they can probably pull it off if it's the
by asveikau 4y ago
I think that's a good idea.
I remember the days when an optimizer didn't really optimize a function pointer call. Now they can probably pull it off if it's the same compilation unit. And if you have link time optimizations, I've seen it do inlines across object files, but obviously that won't work for dynamically linked libc.
But a static inline qsort in a libc header is probably a good call.