"Scott McKay" <swm@mediaone.net> wrote: > Try one more experiment -- use 'Integer' instead of 'int' in Java to > see what the overhead of using a "real" object is. I'll bet it's slow. I'm sure it is, but the fact is that no one would ever write this kind of function using Integers in Java. It's just not done. "The type of this expression, 'Integer', is not numeric." -jikes ;-)