Path: utzoo!attcan!uunet!husc6!purdue!decwrl!alverson From: alverson@decwrl.dec.com (Robert Alverson) Newsgroups: comp.arch Subject: "big endian" vs. "little endian" Summary: no difference for strcmp Message-ID: <1009@bacchus.dec.com> Date: 3 Jan 89 00:43:32 GMT References: <2766@cbnews.ATT.COM> <10147@well.UUCP> <13045@cup.portal.com> <15209@mimsy.UUCP> <6605@killer.DALLAS.TX.US> <5254@pdn.UUCP> Organization: DEC Western Research Lab Lines: 7 I've implemented a fast word oriented strcmp function. The word compare used in the inner loop does not depend on the endian-ness of the machine. In fact, I can switch a few defines to compile for either endian kind. So, at least for C, I don't find the endian-ness to make much difference performance wise. Bob (alverson@decwrl.dec.com)