Closed normanmaurer closed 12 months ago
Motivation:
Integer.valueOf(...) uses a cache internally to reduce object creation. Let's take advantage of that
Modifications:
Replace new Integer(...) calls with Integer.valueOf(...)
Result:
Less Object allocations
Motivation:
Integer.valueOf(...) uses a cache internally to reduce object creation. Let's take advantage of that
Modifications:
Replace new Integer(...) calls with Integer.valueOf(...)
Result:
Less Object allocations