oops..sorry..forgot to change the subject on that last one..it SHOULD have been Telnet, Gmud, Zmud, etc.

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

----- Original Message ----- 
From: "C. K. Lester" <euphoric at cklester.com>
To: <EUforum at topica.com>
Subject: Re: Fastest Way to...


> 
> 
> Pete Lomax wrote:
> 
> >>Okay, here's my attempt:
> >>
> >>junk =3D pos <=3D 0
> >>pos =3D pos * junk
> >>pos +=3D not junk
> >>
> >>    
> >That's about 3 times slower.
> >
> >In your first post, you "unrolled the loop" which is a classic way to
> >make something as fast as possible.
> >
> >Pete
> >
> >  
> hey, Pete, thanks for that info. I later realized that it won't be a 
> static size sequence, so I have to accommodate all sizes.
> 
> I bet looping through the sequence when length() is more than ? would be 
> faster than the sequence operations... right?
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu