Hi

I am using the XML parser to read in quite a lot of data.

Every time I want to access a piece of information from the XML object, I
have a handler that repeats through the data in order to find the correct
branch of the XML tree containing the item I want. However, with 70+ child
objects, I am worried it will start to slow down.

I was wondering whether it would be quicker to convert the XML to a series
of nested property lists at the beginning of the movie.

Does anyone know which would be quicker - going through the XML parser each
time, or retrieving values from nested lists?

I assume nested lists, since they are 'native' to Director (not an xtra),
would be quicker.

I'm sure it wouldn't be anything noticable (there is no noticable delay at
the moment)  but it may take up less effort on the poor computers that are
running this thing!

Does anyone know the answer to this off the top of their head? I don't want
to spend ages rejigging major chunks of code for no good reason!!

best regards

~nick~


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to