Re: strcmp is too heavy for its everyday usage...
Roland McGrath <[email protected]> Wed, 7 Jan 2004 17:13:11 -0800
| Newsgroups | org.kernel.vger.linux-gcc |
|---|---|
| Message-ID | <[email protected]> |
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.