strcmp is too heavy for its everyday usage...
Denis Zaitsev
zzz@anda.ru
Thu Jan 8 01:36:00 GMT 2004
On Wed, Jan 07, 2004 at 05:13:11PM -0800, Roland McGrath wrote:
> The optimized string functions already do word comparisons when that
> is possible and advantageous. The comparisons to extract the
> ordering vs just equality/nonequality are only on the first
> nonmatching byte.
But it's an overhead anyway. Then, it's bad enough for the inlining.
And then, where is such a strcmp in GLIBC?
More information about the Libc-alpha
mailing list