Path: utzoo!news-server.csri.toronto.edu!rutgers!bellcore!uunet!mcsun!cernvax!chx400!chx400!urz.unibas.ch!mark From: mark@urz.unibas.ch Newsgroups: comp.lang.c Subject: Re: Efficient STRing CoMPares? Message-ID: <1991Mar17.213645.1447@urz.unibas.ch> Date: 17 Mar 91 20:36:45 GMT References: <1991Mar15.142821@mars.mpr.ca> Organization: University of Basel, Switzerland Lines: 11 In article <1991Mar15.142821@mars.mpr.ca>, stone@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