Changes between Initial Version and Version 1 of Ticket #11466, comment 1


Ignore:
Timestamp:
2015-05-22T19:03:36+02:00 (11 years ago)
Author:
wiktorn

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11466, comment 1

    initial v1  
    1111
    1212I would go with the recommendation from the latter and do:
    13 `new ConcurrentHashMap<>(8, 0.9f, 1);` instead of `new HashMap<>()`
     13`new ConcurrentHashMap<>(8, 0.9f, 1);` instead of `new HashMap<>()` as the performance of ConcurrentHashMap is not significantly worse than unsafe HashMap.
    1414
    1515Unless we have some better clues about the usage of the map.