New results from "dictionary word count" programs...

Gregory Hill Gregory_Hill at
Tue Mar 21 08:09:59 MST 2006

Isn't the LOC thing kinda bogus anyway since some programs are relying
on external modules or libraries?  I always kinda chuckle when people
say they can write something in 5 lines of Perl, but they don't mention
that it's because they are using 3 CPAN modules that weigh in at over
1MB each.  Yeah, that's probably exaggerated, but you get the idea.

I'd be curious to see the LOC comparison of programs written with no
external dependencies.


> -----Original Message-----
> From: plug-bounces at [mailto:plug-bounces at] On Behalf
> Jason Holt
> Sent: Monday, March 20, 2006 6:03 PM
> To: Provo Linux Users Group Mailing List
> Subject: Re: New results from "dictionary word count" programs...
> On Mon, 20 Mar 2006, Shane Hathaway wrote:
> >> There's still more fine tuning possible.  I've attached a version
> >> shaves another second from the kjv100 test.
> >
> > Then, install psyco ( and run the
> > script.  I measure 4.9 seconds, which could put the Python + Psyco
> version in
> > 1st place, at least for a while. :-)
> Mine still clocks in at 3.5sec on an Athlon64 3000+, and that's
> using
> gcc.  What were the specs for Bryan's machine, I wonder?  Mine might
> faster
> than his (or yours).
> Incidentally, LOC for mine is 1578368.
>  							-J
> /*
> PLUG:, #utah on
> Unsubscribe:
> Don't fear the penguin.
> */

More information about the PLUG mailing list