[fpc-pascal] fast text processing

Jeff Pohlmeyer yetanothergeek at gmail.com
Wed Oct 31 11:42:34 CET 2007

> > this kludge is about 25% faster than your perl script
> > on my machine....

> Nope. It's still more or less twice slower. :-D

I guess it depends on the hardware:

% time koleksi.pl   # perl
Word count: 126944
Unique word count: 11793

real    0m1.019s
user    0m0.992s
sys     0m0.028s

% time koleksi   # fpc
Word count:126944
Unique word count:11793

real    0m0.817s
user    0m0.784s
sys     0m0.020s

AMD-K6-700 / SuSE-10.3 / Linux-2.6.22  / perl-5.8.8 / fpc-2.2.0

 - Jeff

More information about the fpc-pascal mailing list