generalized-language-modeling-toolkit icon indicating copy to clipboard operation
generalized-language-modeling-toolkit copied to clipboard

going away from java.util.HashMap

Open renepickhardt opened this issue 11 years ago • 0 comments

We could consider going away from java uitil hashmap

This could speed up the aggregator as well as the kneser ney smoother.

trove4j seems to be an option:

  • http://trove4j.sourceforge.net/html/benchmarks.shtml
  • https://bitbucket.org/robeden/trove
  • more discussion: http://stackoverflow.com/questions/865423/optimized-implementations-of-java-util-map-and-java-util-set

I have bad experience with javahashmaps when the entryset grew to big this could also fight that problem.

renepickhardt avatar May 12 '14 15:05 renepickhardt