generalized-language-modeling-toolkit
generalized-language-modeling-toolkit copied to clipboard
going away from java.util.HashMap
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.