[fpc-pascal] Re: Variant vs Pointer
Marcos Douglas
md at delfire.net
Fri Mar 2 15:14:17 CET 2012
On Wed, Feb 29, 2012 at 10:38 PM, Marcos Douglas <md at delfire.net> wrote:
> Hi,
>
> 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?
>
> Marcos Douglas
Nobody knows?
I need implements a similar structure but I need know if the use of
Variant have very cost.
Marcos Douglas
More information about the fpc-pascal
mailing list