[fpc-pascal] Variant vs Pointer
md at delfire.net
Thu Mar 1 02:38:22 CET 2012
The TField class have the FValueBuffer: Pointer attribute and have
also SetData(Buffer: Pointer,...) method that all T***Field subclasses
use to set themselves.
The methods AsInteger, AsString, etc use FValueBuffer to convert in an
especific type. So, FValueBuffer could be anything.
My question is:
What would be the difference in performance if FValueBuffer were a Variant type?
More information about the fpc-pascal