Code to optimize.

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

Here is a small chunk a code to be optimized.
Anyone care to scrutinize(sp) its ineffeciency?(sp)
I am well aware that this code has a lot of speed to be gained.
I just haven't taken the time to tweak it.  I fill this would be a
good simple challange.        HAVE FUN./Happy New Year. 8^)


 temp = {}
  cnt = 0
  while lm > cnt do
    cnt = cnt + lr
    temp = temp & r
  end while
  temp = temp[1..lm]

_________________________

Lucius L. Hilley III    lhilley at cdc.net
http://www.cdc.net/~lhilley
http://www.dragonvet.com
_________________________
<IMG SRC="http://www.cdc.net/~ceace/images/lu4.jpg">

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

Search



Quick Links

User menu

Not signed in.

Misc Menu