Skip to content

v4.0.0 Major release

Latest
Compare
Choose a tag to compare
@dadhi dadhi released this 25 Jul 19:12
· 309 commits to master since this release

v4.0.0 Major feature release

Breaking changes:

ImMap<V> type is replaced by ImHashMap<int, V>.
The implementations of ImMap and ImHashMap are combined into one, reducing the code size, and using all performance optimizations from the both.
This change will simplify further performance improvements, testing and bug-fixes.

I have tried to keep the API as similar as possible,
but you may expect that some types and methods were renamed, or new overloads were added.

Performance and memory improvements

  • Fewer allocations (~10%), see the benchmarks in project readme
  • Keeping the performance almost the same

Closed issues

  • #41 Add a builder-like capability to the ImHashMap via BuildFromDifferent methods
  • #47 Add output of the ImHashMap as mermaid diagram, e.g. ToMermaidString method
  • #48 Merge the ImMap and ImHashMap implementations
  • #50 Optimize Enumerable for the PartitionedHashMap
  • #51 Reduce ImHashMap memory allocations, keeping the speed
  • #52 Add AddSureNotPresent methods to compensate for GetSurePresent methods