Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New AnyRefMap fixes SI-5263 to the extent practical.
An open addressing hash map based on a similar scheme to mutable.LongMap. It delivers performance equivalent to Java's HashMap for pretty much all AnyRefs, plus it works nicely with Scala's collections. Revisions made sure that all return types in the public API are specified. Also switched to a leading-zeros method of calculating the initial mask (to save a few ns). Also edited out java.util comparison numbers and moved constants to companion.
- Loading branch information