CLDR Ticket #8908(accepted tools)
Remove unnecessary object creation
|Reported by:||mark||Owned by:||googler|
Description (last modified by mark) (diff)
Unnecessary object creation wastes cycles, both in the creation and in the garbage collection.
stringBuilder.append(source, a, b);
The latter is roughly 200 times faster (with a quick&dirty measure, short strings).
- Status changed from new to accepted
- Component changed from unknown to util
- Priority changed from assess to medium
- Phase changed from dsub to rc
- Milestone changed from UNSCH to 29
- Owner changed from anybody to googler
- Type changed from unknown to tools