Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!rutgers!bellcore!faline!thumper!ulysses!andante!alice!andrew From: andrew@alice.UUCP Newsgroups: comp.unix.wizards Subject: Re: cmp Summary: if you're screwing with cmp, why not code it right? Message-ID: <7993@alice.UUCP> Date: 17 Jun 88 11:56:26 GMT References: <16210@brl-adm.ARPA> Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 5 on most implementations, cmp has two getchars (or getc's) in the inner loop. we got a factor of five improvement by reading in blocks and using memcmp.