Date: Wed, 10 Jan 1996 09:14:31 +0100 (MET) From: Thomas Graichen <graichen@omega.physik.fu-berlin.de> To: wosch@cs.tu-berlin.de Cc: hackers@freebsd.org Subject: Re: wc(1) Message-ID: <199601100814.JAA01033@mordillo> In-Reply-To: <199601091615.RAA00359@localhost> from "Wolfram Schneider" at Jan 9, 96 05:15:04 pm
next in thread | previous in thread | raw e-mail | index | archive | help
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_________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601100814.JAA01033>