java - Performance of Apache Math library version 3.3 vs 2.2 -
java - Performance of Apache Math library version 3.3 vs 2.2 -
i have code physics modelling , uses apache math library version 2.2. math library version 3.3 has superseded ver 2.2 3 years now, , wanting upgrade library.
however, testing showed new library create model take 20% longer run. much of model run-time spent doing math.exp() functions, , utilize fastmath.exp() possible much faster. however, fastmath.exp() appears 20% slower in apache math3.
this real shame, apache math3 includes erf.erfinv() mean don't have utilize separate library error functions. however, cant afford lose 20% speed. utilize of unchecked exceptions in math3 nice too, can simulate catching checked exceptions v2 , re-throwing unchecked.
does know why math3 slower in these places? does have pressing reason why should upgrade despite performance impact?if not, wont upgrading math3 :-/
java performance apache-commons-math
Comments
Post a Comment