autoboxing and performance
<p>I have an application where I perform hundreds of thousands of calculations.  Currently all of our values are Doubles.  I am utilizing JFormula engine for most of the calculations, and have noticed the api takes a double parameter, so there is some autoboxing taking place when I pass in a Double.  I have read some articles, and created some simple tests, and do notice a performance hit, but am still trying to figure out it the time it takes to go through my code and fix this, will be worth any performance improvements.  I am wondering if anyone else has had any experience with something similar and performance gains by using primitives?</p>
