> > Marco van de Voort napisa?(a):
> > 
> >> Since the maillists are a bit irregular, I want to repeat the point that
> >> the relative slowliness of the revcomp benchmark is the repeated 
> >> realloc, not the reading of the textfile (though a small settextbuf 
> >> might improve it
> >> a bit).
> >>  
> >>
> > Its not true. Realloc is invoked only few times. Most of times consume 
> > readln. You may try remove all lines from revcom except readln, and then 
> > see, that time of computation has near 80% of prev. From the second 
> > side, i remove only readln (pass only const string) and revcom speed has 
> > 4 times faster.
> > 
> 
> Did you test with files > 10 MB?

.. and on *nix ? (since that is where the benchmarks run)
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to