|
|
Subscribe / Log in / New account

This is the heart of the problem

This is the heart of the problem

Posted Feb 14, 2014 20:34 UTC (Fri) by madscientist (subscriber, #16861)
In reply to: This is the heart of the problem by mathstuf
Parent article: The Debian technical committee vote concludes

> glibc does load-time resolution of symbols based on CPU capabilities.

Yes, I definitely know that. But my point is that the existence of these highly optimized versions of strcpy() doesn't magically get you a highly optimized version of strlcpy(). There are plenty of functions in glibc which have not been optimized in this way, and there is no particular reason to believe that strlcpy() would magically get this support just by being included.

Someone needs to do that work, and even if the glibc developers could be convinced to add strlcpy() etc. to the library that's no guarantee they'd be motivated to generate highly-optimized versions.

And if someone WAS motivated to generate highly-optimized versions, then those could be used external to glibc just as easily (in fact, possibly more easily since you wouldn't have to worry about which glibc version you were using).


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds