Hi Nick, Since I�ve started programming with LINGO I�ve tried various methods of data retrieving and my experience with lists says there�s nothing faster then Director�s built in methods of getting the job well done.
I have written applications that perform electronic programming guides to Cable TV Operators using regular 128 RAM machines with Windows 98 that read lots of data as fast as a lightning. Unless you are going to use cross plataform data exchange, forget about XML. Carlos ----- Original Message ----- From: "Nick Crossland" <[EMAIL PROTECTED]> Date: Fri, 10 May 2002 09:04:25 +0100 To: <[EMAIL PROTECTED]> Subject: <lingo-l> Which is quicker - XML or lists? > 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!] > -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup [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!]
