DaveAKing / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

Hashing and CharMatcher: stop initializing so much so eagerly #1574

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
com.google.common.hash.Hashing.<clinit> : 40-60ms on a Galaxy Nexus
com.google.common.common.base.CharMatcher.<clinit> : 40-60ms on a Galaxy Nexus

This may or may not require deprecating all the constants in CharMatcher in 
favor of methods like Hashing already uses.  Fixing Hashing will be utterly 
trivial.

Original issue reported on code.google.com by kevinb@google.com on 9 Nov 2013 at 6:08

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<issue id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:12

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:08