[fpc-pascal] difference between variants and simple types

Florian Klaempfl florian at freepascal.org
Sun Oct 8 22:55:54 CEST 2006

Marc Santhoff schrieb:
> Hi,
> I'd like to know how the use of simple atomic types like integer and
> single differs from using variants holding the same types.
> How do they compare in speed and memory consumption?

Variants are magnitudes slower.

More information about the fpc-pascal mailing list