Balzanka / guava-libraries

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

Interners class should offer initialCapacity constructors #1339

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When interning a large number of objects, there could be memory/speed 
improvements made by providing an initialCapacity to the static methods in 
Interners.  As is, there are detectable memory/time spikes when the map is 
resized that could be avoided if we know how large the store is likely to be.

Original issue reported on code.google.com by dimo414 on 14 Mar 2013 at 8:51

GoogleCodeExporter commented 9 years ago

Original comment by kevinb@google.com on 8 Apr 2013 at 7:00

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:18

GoogleCodeExporter commented 9 years ago

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