[fpc-pascal] difference between variants and simple types

Marc Santhoff M.Santhoff at t-online.de
Sun Oct 8 23:47:18 CEST 2006


Am Sonntag, den 08.10.2006, 22:55 +0200 schrieb Florian Klaempfl:
> 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.

That says enough to stop thinking about variants.

Many thanks,
Marc





More information about the fpc-pascal mailing list