Hello Christian,

the data array itself is not the performance killer which does attach  
listeners to anything. The only thing it does additionally to the  
native array is to offer the convenience methods and wrap the original  
methods to throw events on changes. Thats it. But if you want to build  
the whole data containing the 10.000 nodes into qooxdoo classes where  
every class has a data array for its children, that could be a problem  
for sure! But that problem is independent from the data array. 10.000  
objects containing at least one native arrays are sure not that good  
either. :)

Best,
Martin


Am 15.05.2009 um 10:57 schrieb panyasan:

>
> Hello Martin,
>
>
> Martin Wittemann wrote:
>>
>> Why do you think the qx.data.Array does not scale with huge data? I
>> guess that should be no problem as it uses the native array to store
>> the data. But perhaps i have overseen something.
>>
>
> Maybe I am wrong, but I assumed that there is a massive overhead  
> involved if
> you convert a tree of, say, 10.000 nodes that consists of objects  
> containing
> arrays and object, into an object structure using qx.data.Array which
> attaches event listeners etc. etc. ? It would be nice I was wrong.
>
> Also, I want to distinguish between a tree manipulation that is  
> caused by
> the user, which should send change events, and those changes that  
> are done
> programmatically in response to events.
>
> But at any rate, I did not want to change Derrell's codebase. It is  
> enough
> to selectively add event dispatchers in overridden methods of the
> TreeVirtual API.
>
> Best,
>
> Christian
> -- 
> View this message in context: 
> http://n2.nabble.com/Databinding-for-TreeVirtual-tp2886079p2906715.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to