[fpc-devel] Adding a unidirectional dataset to sqldb

Michael Van Canneyt michael at freepascal.org
Thu Oct 5 10:13:13 CEST 2006



On Thu, 5 Oct 2006, Joost van der Sluis wrote:

> 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 ...

An interface does not contain any code, so how would adding an interface
help ?

Michael.



More information about the fpc-devel mailing list