8000 Release v1.2.0 · bloeys/nset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v1.2.0

Compare
Choose a tag to compare
@bloeys bloeys released this 21 Jul 20:48
· 2 commits to dev since this release
95b3af2

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

0