Efficient STRing CoMPares?

mark at urz.unibas.ch mark at urz.unibas.ch
Mon Mar 18 06:36:45 AEST 1991


In article <1991Mar15.142821 at mars.mpr.ca>, stone at mars.mpr.ca (Darren Stone) writes:
> 
> Does anyone know if there's a better (!?) way to compare
> strings than with strcmp()?
> 

	Have you already looked at what code an optimizing compiler
produces for STRCMP ? It may be a very good inline code (no subroutine call)
if the compiler is clever.
						G.Mark
 



More information about the Comp.lang.c mailing list