Skip to content

Commit

Permalink
Fixes and improvements to IntObjectHashMap. Related to [netty#2659]
Browse files Browse the repository at this point in the history
- Rewrite with linear probing, no state array, compaction at cleanup
- Optimize keys() and values() to not use reflection
- Optimize hashCode() and equals() for efficient iteration
- Fixed equals() to not return true for equals(null)
- Optimize iterator to not allocate new Entry at each next()
- Added toString()
- Added some new unit tests
  • Loading branch information
opinali authored and Norman Maurer committed Jul 21, 2014
1 parent 5f69fb1 commit 8fc58a4
Show file tree
Hide file tree
Showing 2 changed files with 342 additions and 244 deletions.
Loading

0 comments on commit 8fc58a4

Please sign in to comment.