SQL and API methods + benchs
Olivier
vidal_olivier at yahoo.fr
Mon Jan 24 10:14:00 CST 2005
>> yes, but it NOT exist FindStartWithAsArraySet or FindLikeAsArraySet or
>> FindRegexAsArraySet...
>
> Right!
> Again,
>
> ArraySet is preferred only of you KNOW that you will find few records
> from
> 40,000 table records.
>
> BitSet is preferred in all rest cases.
>
> FindValue() searches for ONE value.
> Exists many chances that will be not many records that have one the
> same
> value. So in this case ArraySet can be good.
> ----------
> Next, in the SQL mashine, we use only bitSets, btw.
ok
> ----------
> If you going do Intersection for results, then you MUST use the same
> types
> BitSet + BitSet
ok
> So in this case use bitSets always.
> So Oliver, AS ARRAY SET functions, will be used very rare I think.
> Only for specific tasks, when I know that I will find dew records,
> When I will not intersect with BitSets.
>
ok.
but for random access ?
it's not easy to work with iterator.
often, in my app, I use einhugur's datagrid.
I need random access.
thank you
olivier
More information about the Valentina-beta
mailing list