Re: strcmp is too heavy for its everyday usage...
Denis Zaitsev <[email protected]> Thu, 8 Jan 2004 06:36:36 +0500
| Newsgroups | org.kernel.vger.linux-gcc |
|---|---|
| Message-ID | <[email protected]> |
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?