From: Roland McGrath Subject: Re: strcmp is too heavy for its everyday usage... Date: Wed, 7 Jan 2004 17:13:11 -0800 Sender: libc-alpha-owner@sources.redhat.com Message-ID: <200401080113.i081DB1c000920@magilla.sf.frob.com> References: <20040108060924.A4431@zzz.ward.six> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , In-Reply-To: Denis Zaitsev's message of Thursday, 8 January 2004 06:09:24 +0500 <20040108060924.A4431@zzz.ward.six> List-Id: Content-Type: text/plain; charset="us-ascii" To: Denis Zaitsev Cc: Zack Weinberg , Andreas Jaeger , Richard Henderson , libc-alpha@sources.redhat.com, linux-gcc@vger.kernel.org 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.