2 ms·
> xz sees continual improvement to e.g. make it faster. Yes, that makes sense. > ifuncs are an important part of that. No, IFUNCs have absolutely zero perfor
by account42 3y ago
> xz sees continual improvement to e.g. make it faster.
Yes, that makes sense.
> ifuncs are an important part of that.
No, IFUNCs have absolutely zero performance benefit over regular function pointers for internal functions. If anything, they can limit optimization oppertunities the compiler has with other approaches. The only benefit IFUNCs bring is being able to avoid another indirection when replacing already exported library functions in their entirety. That's what they are there for - different optimized implementations for things like memcpy in glibc.
- saagarjha 3y agoSure they do: they’re transparent to applications.