Tag Archives: Integer

Java Performance Tuning with maximizing Integer.valueOf(int)

With http://java.sun.com/javase/6/docs/api/java/lang/Integer.html#valueOf%28int%29 or auto boxing(uses internal a valueOf too) the cached Integer values will be used if they are between -127 and +128. Now I found coincidentally(by looking at the source) on a Java feature or more exactly on a … Continue reading

Posted in common practice, Performance | Tagged , , , | 1 Comment