[fpc-devel] Adding a unidirectional dataset to sqldb

Joost van der Sluis joost at cnoc.nl
Thu Oct 5 00:38:58 CEST 2006


Hi all,

I have plans to add an unidirectional dataset/query to sqldb. Thus one
that isn't inherited from TDataset. This to improve performance, for for
example cgi-like programs, in which iterating back and forth through a
database isn't necessary.

But while working on this, I discovered that very much code from
TSQLQuery could be exactly copied to this new class.

Now I'm thinking about using an interface, to avoid double code. But I
don't know what effect that has on run-time performance. I mean, the
idea was to make if faster ...

Any thoughts on this?

regards,
  Joost.




More information about the fpc-devel mailing list