[fpc-pascal] fast text processing
Vincent Snijders
vsnijders at quicknet.nl
Wed Oct 31 13:22:07 CET 2007
Bee schreef:
>> graemeg at graemeg:word_parser$ time ./project1
>> Word count:126944
>> Unique word count:11793
>>
>> real 0m0.185s
>> user 0m0.140s
>> sys 0m0.000s
>>
>> graemeg at graemeg:word_parser$ time perl project1.perl
>> Word count: 126944
>> Unique word count: 11793
>>
>> real 0m0.281s
>> user 0m0.244s
>> sys 0m0.016s
>
> Vincent said it was 3 times faster. I expected the result would be about
> 0.10s. Or am I wrong?
>
It was three times faster than the string list version of Jeff. I don't have a perl
interpreter :-).
Vincent
More information about the fpc-pascal
mailing list