Others have stated that it does take a long time to build up a long 
list like this.  In addition to the other ideas, I would like to add 
the idea of using a "data cast member".  Details can be found at:

   http://www.director-online.com/accessArticle2.cfm?id=442

But the basic idea is that rather than build up your list on the fly, 
build the list in a Lingo handler, then call the handler to return 
the list.  I'm sure it would be much faster and perhaps easier to 
read and change than what you are currently doing.

Irv
.

At 9:24 AM -0200 2/1/02, lpovoas wrote:
>I have implemented something like a 'database' in director, it has assigns
>authors with some articles.
>so, there is HUGE list of authors (1200 i believe) and a HUGE list o
>articles.
>
>the lists are created like this
>autores = []
>append autores, [#autor:"chico da silva", #articles: [[#titulo: "tieta do
>agreste", #link: "novelas\tieta.html"],[#titulo: "o que � isso companheiro",
>#link: "companheiro.mov]]
>...... there are more than 1000 append's
>
>
>the problem is that when I tell director to create the list, it takes almost
>a minute on a K6-400 (that are
>very common here in Brazil)
>How can I make things faster??
>



-- 

Lingo / Director / Shockwave development for all occasions. 
          
   (Home-made Lingo cooked up fresh every day just for you.)
[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