From owner-freebsd-hackers Wed Jan 10 12:35:53 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA29455 for hackers-outgoing; Wed, 10 Jan 1996 12:35:53 -0800 (PST) Received: from omega.physik.fu-berlin.de (omega.physik.fu-berlin.de [130.133.3.51]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id MAA29332 for ; Wed, 10 Jan 1996 12:34:42 -0800 (PST) Received: from mordillo (oberon.physik.fu-berlin.de [130.133.3.126]) by omega.physik.fu-berlin.de (8.7.1/8.7.1) with ESMTP id VAA10986; Wed, 10 Jan 1996 21:32:36 +0100 (MET) Received: (from graichen@localhost) by mordillo (8.6.12/8.6.12) id JAA01033; Wed, 10 Jan 1996 09:14:31 +0100 From: Thomas Graichen Message-Id: <199601100814.JAA01033@mordillo> Subject: Re: wc(1) To: wosch@cs.tu-berlin.de Date: Wed, 10 Jan 1996 09:14:31 +0100 (MET) Cc: hackers@freebsd.org In-Reply-To: <199601091615.RAA00359@localhost> from "Wolfram Schneider" at Jan 9, 96 05:15:04 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org Precedence: bulk hasn't Wolfram Schneider said ? ... > > FreeBSD-2.x wc(1) is slow and ugly. NetBSD-current has the same code > as FreeBSD-1.1.5, faster and cleaner written. > > Wolfram > > time FreeBSD-2.1/wc /usr/share/dict/words > 234936 234936 2486813 /usr/share/dict/words > 6.96 real 6.48 user 0.40 sys > time FreeBSD-1.1.5/wc /usr/share/dict/words > 234936 234936 2486813 /usr/share/dict/words > 5.72 real 5.19 user 0.45 sys > time FreeBSD-2.1/wc -l < /usr/share/dict/words > 234936 > 6.99 real 6.38 user 0.46 sys > time FreeBSD-1.1.5/wc -l < /usr/share/dict/words > 234936 > 2.97 real 2.50 user 0.42 sys > are you doing any scientific calculations using wc - because you need a very fast one ? :-) t p.s.: but i agree - a faster and cleaner would be better _______________________________________________________||___________________ __|| Perfection is reached, not when there is no __|| thomas graichen longer anything to add, but when there __|| freie universitaet berlin is no longer anything to take away __|| fachbereich physik __|| - Antoine de Saint-Exupery - __|| graichen@mail.physik.fu-berlin.de ___________________________||__________________graichen@FreeBSD.org_________