[fpc-devel] CompareMem slower in FPC 2.4.4

Florian Klämpfl florian at freepascal.org
Thu Jun 2 19:03:10 CEST 2011


Am 02.06.2011 18:45, schrieb José Mejuto:
> Hello FPC,
> 
>                              PlainCompare  CompareByte    XCompareByte
>                              ------------  -----------    ------------
> Equal arrays 1000 elements   16250 ms      625 ms         656 ms
> Diff. arrays 1000 elements      62 ms      640 ms         656 ms
> 
> Equal arrays 32 elements       547 ms      625 ms         547 ms
> Diff. arrays 32 elements        62 ms      640 ms          62 ms
> 

I improved the original CompareByte, please tell me how it works for you.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: comparebyte.inc
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110602/89e515b9/attachment.ksh>


More information about the fpc-devel mailing list