cmp

andrew at alice.UUCP andrew at alice.UUCP
Fri Jun 17 21:56:26 AEST 1988



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.



More information about the Comp.unix.wizards mailing list