RE: Sequence slicing

new topic     » topic index » view thread      » older message » newer message

Al Getz wrote:
> 
> 
> Daniel Kluss wrote:
> > 
> > 
> > Heres a snipet,
> 
> 
> Hi Daniel,
> 
> I find that the way you use sequences affects the speed of
> the program.
> For example, if you have to make two sequences by parsing
> data:
> 
> seq1={}
> seq2={}
> while x do
>     GetDin1AndDin2()
>     seq1=append(seq1,Din1)
>     seq2=append(seq2,Din2)
> end while
> 
> Takes much longer (not just twice as long) then:
> 
> seq1={}
> while x do
>     GetDin1AndDin2()
>     seq1=append(seq1,Din1)
> end while
> 
> for some reason.  I figured it had something to do with 
> the allocation of the sequences.
> 
> What i gathered was that if you can find another way of 
> doing something using sequences, you might find a faster
> method.  Of course this assumes the sequence assignment is
> what is causing the slowdown.  The new method might be
> extremely faster too, not just a little faster.
> 
> 

Maybe this is the same problem I encountered with the WinME OS and 
really large fragmented sequences with Eu 2.4?  If you are building up 
the sequence incrementally, and the adjusting the size all the time, it 
could be an allocation/fragmentation issue.  What OS are you using?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu