CLDR Ticket #8854(new unittest)
Performance Improvements for unit tests and production code.
|Reported by:||emmons||Owned by:||emmons|
Split off from the 28 ticket....
Investigate some known performance improvements for the unit tests, such as the following:
1). Use of CLDRConfig.getEnglish(), CLDRConfig.getRoot() wherever possible, which will use a singleton cached version instead of creating a new CLDRFile.
2). Use of ImmutableSet from Guava for creating constants instead of HashSet - it claims to be faster.
3). Use of Enum and EnumSet where it makes sense.
I'm sure there are others. As much as we run the unit tests, it's worth our while to make them efficient.