Skip to content

Releases: bloeys/nset

v1.3.1

09 Sep 03:56

Choose a tag to compare

Fixes a bug affecting NSet.SetBits value in the set returned by GetDifference.

Full Changelog: v1.3.0...v1.3.1

v1.3.0

09 Sep 03:49

Choose a tag to compare

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

21 Jul 20:48
95b3af2

Choose a tag to compare

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

v1.12.0

11 Jun 04:14

Choose a tag to compare

Intersection benchmarks

v1.11.0

11 Jun 01:01

Choose a tag to compare

IsEq benchmarks

v1.0.0

11 Jun 00:07

Choose a tag to compare

Union