home *** CD-ROM | disk | FTP | other *** search
- From: AlexK@tharr.UUCP (Alex Kiernan)
- Newsgroups: alt.sources
- Subject: Re: Fast strcmp() wanted.
- Message-ID: <1055@tharr.UUCP>
- Date: 1 Oct 90 10:38:53 GMT
-
- > If the test of the first character saves a procedure call, then no
- >matter how good the compiler is it will be faster not to do the call.
-
- The Lattice C compiler uses a builtin strcmp, as mandated by ANSI, so often it
- can generate great code, taking advantage of all sorts of alignment/length
- knowledge. BTW this the LC 68000 code generator, I don't know about other
- platforms.
-
- Alex K.
- --
- <-- tharr *free* public access to Usenet in the UK 0234 261804 -->
-