>> I don't see why manually allocating the object yourself (instead of having >> the JVM do it) would be any faster (especially if the JVM caches frequently >> boxed values), but maybe I'm missing something? That's what I was thinking.
> Since even the Sun docs was mentioning > that autoboxing has some cost, I was curious to see if it was > something that was done by design in Thrift or not. My guess is that they were comparing autoboxing with no boxing at all, not autoboxing with manual boxing. I don't think we do boxing in any place where it is not necessary (for Java). --David
