[fpc-pascal] bitmask vs sets. Is there a performance difference?
mailinglists at geldenhuys.co.uk
Mon Jan 25 12:35:38 CET 2016
On 2016-01-20 23:11, Sven Barth wrote:
> You cam check this by compiling with -al and comparing the assembler code.
It seems using Sets produce slightly smaller assembler code (2
instructions less) for the example code I posted. Attached is a comparison.
I guess the other benefit is that using Sets is more "pascal like" and
probably easier for more developers to understand.
- Graeme -
My public PGP key: http://tinyurl.com/graeme-pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 23723 bytes
Desc: not available
More information about the fpc-pascal