[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #8908(accepted tools)

Opened 19 months ago

Last modified 18 months ago

Remove unnecessary object creation

Reported by: mark Owned by: googler
Component: util Data Locale:
Phase: rc Review:
Weeks: Data Xpath:
Xref:

Description (last modified by mark) (diff)

Unnecessary object creation wastes cycles, both in the creation and in the garbage collection.

stringBuilder.append(source.substring(a, b));

should be:

stringBuilder.append(source, a, b);

The latter is roughly 200 times faster (with a quick&dirty measure, short strings).

Attachments

Change History

comment:1 Changed 19 months ago by emmons

  • 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

comment:2 Changed 19 months ago by mark

  • Description modified (diff)

comment:3 Changed 18 months ago by emmons

  • Milestone changed from 29 to upcoming

Auto move of all 29 -> upcoming

View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.