On Mon, Feb 27, 2012 at 12:48:29PM +0100, Martin Schreiber wrote: > > > property BookmarkStr: TBookmarkStr read GetBookmarkStr write > > > SetBookmarkStr; > > > " > > > so in user code we can have a bookmark type with automatic memory > > > management. > > > > I'll study if the normal tbookmark can change to tbytes short term. If not, > > I'll add the bookmarkstr as deprecated property for time being. > > > Using TBytes as TBookmark everywhere (especially internally in TDataset) > probably introduces unnecessary overhead.
Internally afaik tbookmark is not used but getbookmarkdata. Only in the getters and setters of the bookmark property the data is copied to the TBytes variable. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
