[fpc-devel] CompareMem slower in FPC 2.4.4

Michalis Kamburelis michalis.kambi at gmail.com
Sat Jun 4 01:13:54 CEST 2011


Florian Klämpfl wrote:
> 
> I improved CompareDWord as well, for your application it should be even
> better.
> 

Ha, I hesitated earlier to mention that CompareWord and CompareDWord are
~4 times slower than equivalent (on the same number of bytes)
CompareMem/CompareByte calls :) Cool, times with latest FPC (rev 17651):

CompareMem: 1.928s
CompareWord: 1.270s
CompareDWord: 1.108s

These times directly help in my algorithm (I use it to aggressively
search for pairs of matching edges for shadow volumes). Great!

Thanks,
Michalis



More information about the fpc-devel mailing list