[fpc-pascal] bitmask vs sets. Is there a performance difference?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Mon Jan 25 16:28:06 CET 2016


On 2016-01-25 15:23, Sven Barth wrote:
> Did you test with different optimization settings?

No, I use  -O- for the test. But I did think that optimization might
make a difference, but didn't actually test it.


> Anyway I agree that sets are easier to read ;)

Yup. I've decided to change my bitmask usage to sets instead - purely
for ease of reading and understanding the code.


Regards,
  - Graeme -


My public PGP key:  http://tinyurl.com/graeme-pgp



More information about the fpc-pascal mailing list