Posted 27 November 2000 - 12:31 PM
I was fiddling around with optimizing some code and I used a typical approximation to replace the SQRT() function. (This is common when coding vector length calculcations in C.)
Funny thing, I tried several well-known approximations and found that my code, at best, ran as fast as the Math.sqrt() call or _slower_!
I''m using JDK 1.3... anyone know if Sun has made the math library functions as optimized as possible?
"We are Indigenous. Welcome."
Indigenous Technologies, Inc.