AW: [V4MD] please read ALL: what about next idea -- let's take some Arca syntax ?

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Jan 23 11:13:47 CST 2006


On 1/23/06 8:33 AM, "Florian Bogeschdorfer" <fb at memedia.de> wrote:

>> 2) In Vcursor class we have
>>         GetRecordAsPropList(),
>>         GetRecordsAsPropList().
>> 
>>    and we have functions which can return records as SIMPLE list,
>>    and as Strings formated with some delimiters. So we have a lots here.
>> 
>> BUT. GetRecordsAsPropList() returns prop list in format
>> 
>>     [ [#fld1_name:v11, #fld2_name:v21],
>>       [#fld1_name:v12, #fld2_name:v22],
>>       [#fld1_name:v13, #fld2_name:v23],
>>       [#fld1_name:v14, #fld2_name:v24]
>>     ]
>> 
>> It is easy to see that this function stupidly create field names many
>> times.
>> IF you look on Arca list, then its author have extract field names into
>> separate sublist, and rows go as simple list in fact.
>> 
> Well I do not see big advantages here. But if you like it :-)

Advantage is: speed and RAM.

* Lingo list is known as slow thing.

* so if you get result with 1000 records, then right now
    Valentina create list with 1000 + 1000 items.

    In new way it will be only fieldCount + 1000.
    i.e. About 2 times less. So 2 times faster and 2 times less RAM.


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