Sets from Cursors Re: VCursor.AddRecord

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Dec 3 19:42:26 CST 2005


On 12/3/05 4:43 PM, "Ed Kleban" <Ed at Kleban.com> wrote:

>>> You know, as I'm typing here, it has occurred to me that Vset has
>>> Append/Remove methods so we could really just do this ourselves (though,
>>> performance-wise, probably not as fast as Ruslan could implement).
>> 
>>> But,
>>> we could extend Vcursor (I'm pretty sure you are an RB guy) and add a
>>> ToBitSet and/or ToArraySet method ourselves.
>> 
>> I think here problem. Db.SqlSelect still will return you Vcursor,
>> But not yourCursor
>> 
>> More correct design here to use -- algorithms.
>> Methods which accept Vcursor
> 
> Ah!  You mean change the Vfield.FindXxxx commands so that they will accept a
> VCursor as well as accepting a VBitSet or VArraySet for inSelection?  Yes,
> that of course would be optimal... but also a lot more work to add I'm
> guessing.

No, I mean that it need NOT sublass cursor and make own methods
    ToBitSet
    ToArraySet

Instead just do global methods

    ToArraySet( inCursor ) as VArraySet



-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list