P is for Practical | |
PerlMonks |
Re^2: Creating a circle in a data structureby Skeeve (Parson) |
on May 28, 2007 at 08:08 UTC ( [id://617809]=note: print w/replies, xml ) | Need Help?? |
You can omit the square root if you compare to the square of the radius. I think one will get a big speed improvement from this.
s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{% +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
In Section
Seekers of Perl Wisdom
|
|