9 ms·
You should take a look at scala's OpenHashMap - a mutable hashmap in the scala standard library that is often as fast as ju.HashMap. Link to scala doc: http://w
by orp 13y ago
You should take a look at scala's OpenHashMap - a mutable hashmap in the scala standard library that is often as fast as ju.HashMap.
Link to scala doc: http://www.scala-lang.org/api/current/index.html#scala.collection.mutable.OpenHashMap http://www.scala-lang.org/api/current/index.html#scala.colle...
- trailfox 13y agoI have used OpenHashMap, but the results are mixed sometimes is much faster, other times it's much slower. It really depends on the use case.