JavaWorld Stopped Making Sense
What's up with JavaWorld?
Try reading this article and see if it makes sense.
It started off with this claim:
(J2SE 1.4) uses a new StrictMath package to perform mathematical calculations, but many of these math routines are much slower than the corresponding routines in J2SE 1.3.
And it went ahead and created a JNI version of the Math class, which it called MathLib, that had this characteristic:
(The MathLib) routines are about half as fast as the Math routines in J2SE 1.3.1---a result of the overhead involved in making a JNI call. Note that when you make numerous calls to the MathLib routines in a tight loop, you sometimes get an exception.
We have just received a tip that makes our code half as fast and prone to exceptions. Great!