Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Re: Dealing with higher order operations coupled with primitives (http://www.velocityreviews.com/forums/t947365-re-dealing-with-higher-order-operations-coupled-with-primitives.html)

Lew 06-22-2012 09:27 PM

Re: Dealing with higher order operations coupled with primitives
 
Aaron W. Hsu wrote:
> Thank you for pointing out that boxing might not matter, though in all
> my experiences, it does. I'll post actual code soon, though, to see whether
> this is just ignorance on my part.


A number of things affect how much autoboxing affects performance.

Let the code spin up 10000 times with the JVM in "-server" mode and watch your
performance issues melt away.

I am being a little fey with that remark, but you have to let the optimizer
do its thing before you judge.

--
Lew


All times are GMT. The time now is 02:42 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.