Tree Arrays: putting XML in nested arrays

David Bovill david.bovill at gmail.com
Thu Jan 1 18:22:30 EST 2009


Good point - wasn't thinking - having problems with the latest beta and
script editing, but I'll try and see if there are any speed issues
differences, and if not stick with your structures. Thanks.

2009/1/1 Trevor DeVore <lists at mangomultimedia.com>

> On Jan 1, 2009, at 2:13 PM, David Bovill wrote:
>
>  Ah - OK. But this would only be one extra line and practically as fast:
>>
>> put theTreeA[root]["node_1"] into theNodeA
>>
>>  put theTreeA[@attributes][root]["node_1"] into theNodeA
>>>
>>
> But that wouldn't give you the same result. You would just have the
> attributes in theNodeA but not the rest of the node contents. Using your
> structure you have to combine your attributes node with the main node to get
> all data into a single array. This means you can't pass the node directly to
> a function call without first combining node and it's attributes into a temp
> array and then passing it in.
>
> It seems like you are working with much larger data sets and you want to
> manipulate without knowing the structure ahead of time. I have no such need
> hence the reason I have little concern for a structure optimized for speed.
> I just want ease of use for my needs.
>
>
> Regards,
>
> --
> Trevor DeVore
> Blue Mango Learning Systems
> www.bluemangolearning.com    -    www.screensteps.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list