[Tutor] speeding code along

Thomi Richards thomi@thomi.imail.net.nz
Sun Nov 17 20:35:01 2002


> speedup would be to cache the results of sqrt() so if you compute the
> same values over and over it won't take as long.  But in the end it is
> the 

i did think about that, but decided that in the end it would probably
take just as long to lookup 3 values in a list of values (by the end of
the image, this list would be thousands long anyway), as it would to do
the math.... ahh well...

-- 
Thomi Richards
thomi@imail.net.nz
http://ddmodd.sourceforge.net/
Thomi Richards,
thomi@imail.net.nz