Just checking on a few bugs of mine...
Bob Sneidar
bobs at twft.com
Mon May 21 14:18:38 EDT 2012
Hi Andrew. Item 1 is not a bug. Livecode has to parse the entire array, and very large arrays will be sluggish. It would be better to check the contents of your array with a script and just put the element you are interested in in the message box, or else, if it is formatted right, that is the first level key being a numbered key and the second level being the names of columns in a datagrid, you could just set the dgdata of a datagrid to your array. Since a datagrid only parses the visible data for display, it will be much faster to view your data.
eg
myArray[1][column1]
myArray[1][column2]
myArray[2][column1]
myArray[2][column2]
Bob
On May 21, 2012, at 10:47 AM, Andrew Meit wrote:
> Anyone else ran into these older bugs of mine:
>
>
> 1.
> create a huge 3 dim array via a script with lots of data to show, like in the
> thousands
> click variable tab
> --watch how IDE struggles to show the hierarchy via the arrows..eventually, IDE
> will hang
>
> 2.
> have a folder of 260,000 files
> set defaultfolder to that folder
> use files() to get info on each file
> -- note, rev eventually locks up and fails to respond, and you cant cmd-. out
> ether, have to force exit
>
> Thanks.
>
> _______________________________________________
> 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