DataGrid Speed

Bob Sneidar bobs at twft.com
Fri Nov 18 16:43:40 EST 2011


If you use dgText, the datagrid library will create the array internally, 6 one way half a dozen the other, except that the datagrid library knows how to do it right. But if you have an array already, then using dgData is of course quicker. 

Bob


On Nov 13, 2011, at 10:30 AM, Michael Doub wrote:

> Does anyone understand the basic internal workings of DataGrid enough to help me understand what is going on.  I am trying to use the least amount of memory and maximize performance on IOS.
> 
> I have a field of 4000 lines with 6 items in each line that have been pre-sorted.   Is it better for me to set the dgText or manually create an array and use dgData.   Either I create the array or the data grid library does.   Is the data grid library unpacking this array into text anyway?
> 
> What is going on under the covers with persistent data?   Can I climate a copy of the data if this is turned off?
> 
> Thanks in advance.
>   -= Mike
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list