Re: Code to optimize.
- Posted by JJProg at CYBERBURY.NET Jan 01, 1999
- 460 views
EU> Here is a small chunk a code to be optimized. EU>Anyone care to scrutinize(sp) its ineffeciency?(sp) EU>I am well aware that this code has a lot of speed to be gained. EU>I just haven't taken the time to tweak it. I fill this would be a EU>good simple challange. HAVE FUN./Happy New Year. 8^) EU> temp = {} EU> cnt = 0 EU> while lm > cnt do EU> cnt = cnt + lr EU> temp = temp & r EU> end while EU> temp = temp[1..lm] What are lm, lr, and r? If r is just an atom, this would work much faster: temp = repeat(r,lm) EU>_________________________ EU>Lucius L. Hilley III lhilley at cdc.net EU>http://www.cdc.net/~lhilley EU>http://www.dragonvet.com EU>_________________________ EU><IMG SRC="http://www.cdc.net/~ceace/images/lu4.jpg"> Jeffrey Fielding JJProg at cyberbury.net http://members.tripod.com/~JJProg/