Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!spool.mu.edu!uunet!gistdev!flint From: flint@gistdev.gist.com (Flint Pellett) Newsgroups: comp.lang.c Subject: Re: Efficient STRing CoMPares? Message-ID: <1151@gistdev.gist.com> Date: 20 Mar 91 16:22:23 GMT References: <1193@caslon.cs.arizona.edu> <15496@smoke.brl.mil> <1991Mar18.174207.7377@bingvaxu.cc.binghamton.edu> <15510@smoke.brl.mil> <1991Mar19.222410.1682@bingvaxu.cc.binghamton.edu> Organization: Global Information Systems Technology Inc., Savoy, IL Lines: 11 The original poster apparently is only interested in an equal/not equal result from strcmp(), not the before/equal/after result that strcmp() actually returns. I'd like to expand the question a bit: I'm curious if anyone has a method that actually speeds up strcmp() in the situtation where you have to get the lexicographic ordering information back. (Such as when the strcmp() is used as the basis for comparison in a bsearch().) -- Flint Pellett, Global Information Systems Technology, Inc. 1800 Woodfield Drive, Savoy, IL 61874 (217) 352-1165 uunet!gistdev!flint or flint@gistdev.gist.com