Releases: bloeys/nset
Releases · bloeys/nset
v1.3.1
v1.3.0
This release implements the GetDifference method and tests for it, and adds more comments.
Full Changelog: v1.2.0...v1.3.0
v1.2.0
What's Changed
This update introduces a NSet.SetBits variable and corresponding NSet.Len() that tracks how many values are stored in the set. It is updated whenever a bit is set/unset (i.e. a value is added/removed).
It has been done in a performance conscious way to minimize slowdown from the extra work being done to track this. The 'Add' benchmark went from ~2.8ns to ~3.6ns, about a nanosecond slower. The entire benchmark suite runs ~2-8% slower.
Real world usage should generally be unaffected.
Full Changelog: v1.12.0...v1.2.0