[fpc-pascal] fast text processing

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Nov 1 07:32:46 CET 2007


On 01/11/2007, Vincent Snijders <vsnijders at quicknet.nl> wrote:
>
> No more strlen:
> http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=1432


Wow, that version improved quite a bit from the previous one!!

graemeg at graemeg:word_parser$ time ./project1_fast
Word count:126944
Unique word count:11793

real    0m0.107s
user    0m0.100s
sys     0m0.000s


graemeg at graemeg:word_parser$ time perl ./project1.perl
Word count: 126944
Unique word count: 11793

real    0m0.271s
user    0m0.248s
sys     0m0.008s



Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list