Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: deckarep/golang-set

v2.8.0 - Now support for Go 1.23+ iterators

14 Mar 21:38
@deckarep deckarep

Choose a tag to compare

This change brings support for Go's new flavor of iterators. Additionally, a convenience method was added for ContainsAnyElement and a fix to spelling. Please visit this issue for a deeper context on how this works for newer versions of Go vs older versions of Go. Cheers!

What's Changed

New Contributors

Full Changelog: v2.7.0...v2.8.0

Contributors

amikai, Y7n05h, and standstaff
Assets 2
Loading
li1234yun reacted with thumbs up emoji
1 person reacted

v2.7.0 - Proper support for JSON Marshaling/Unmarshaling, no more workarounds needed.

03 Dec 22:55
@deckarep deckarep

Choose a tag to compare

What's Changed

  • Mention of sister project: Ziglang-set for Zig developers
  • Once and for all fixes a long-standing JSON bug that was introduced with a previously large refactor which was designed to remove a layer of pointer indirection. It turns out, it's required to properly support Unmarshaling without having to resort to workarounds. Contribution by @ryclarke - Thank you! #122

Full Changelog

v2.6.0...v2.7.0

Contributors

ryclarke
Loading
Frassle and svengreb reacted with hooray emoji
2 people reacted

v2.6.0 - Adds ContainsOne method to mitigate allocations

26 Dec 19:18
@deckarep deckarep
4a7d053
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

What's Changed

  • Adds ContainsOne method to mitigate allocation as discussed in: #118
  • Comprehensive benchmarks and unit-tests added to warrant and prove this change out
  • Brought to you by: @vladvalkov - Thank You and Happy Holidays! 🎊 🍾

Full Changelog

v2.5.0...v2.6.0

Contributors

vladvalkov
Loading
dushaoshuai reacted with thumbs up emoji
1 person reacted

v2.5.0 - Adds generic Sorted method to easily get elements into a sorted slice.

29 Nov 22:25
@deckarep deckarep
5ff637d
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

What's Changed

  • Add Sorted method - easily get elements of a set into a sorted slice.
  • Move to own file that can be build tagged
  • Also test go 1.21

Full Changelog

v2.4.0...v2.5.0

Loading
Frassle reacted with hooray emoji
1 person reacted

v2.4.0 - Improvements/fixes to docs and a new IsEmpty method.

21 Nov 17:42
@deckarep deckarep
208a228
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

What's Changed

  • Docs were fixed for the Union method - prepared by @ravanscafi
  • Install instructions added to README.MD - prepared by @cemremengu
  • New IsEmpty method added - prepared by @Jibaru

Full Changelog

v2.3.1...v2.4.0

Contributors

cemremengu, ravanscafi, and Jibaru
Loading
stensh1 reacted with heart emoji
1 person reacted

Patch Release: Bug fix affecting JSON deserialization

02 Aug 21:33
@deckarep deckarep
b20691d
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

What's Changed

  • After a simplification previous refactor to get rid of one layer of indirection a bug was introduced that affected JSON unmarshaling that resulted in a panic - fix prepared by @fujie-xiyou

Full Changelog

v2.3.0...v2.3.1

Contributors

fujie-xiyou
Loading

Minor Release: Performance optimization to minimize memory allocs on allocation of Set

14 Mar 17:30
@deckarep deckarep
456a496
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

What's Changed

  • Utilizes map capacity hint in all constructors to minimize memory allocation churn with instantiation and population of Set - originally proposed by @fy0
  • New *WithSize constructors: NewThreadUnsafeSetWithSize and NewSetWithSize to allow for minimizing allocation churn and unnecessary resizing of internal state.
  • Adds a RemoveAll convenience method

Full Changelog

v2.2.0...v2.3.0

Contributors

fy0
Loading

Minor release: better docs, small optimizations, additional convenience methods and constructors.

05 Mar 20:49
@deckarep deckarep
d9a5ce2
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

What's Changed

  • Streamline pointer indirection, and docs and optimized Clear method by @fakefloordiv
  • NewSetFromMapKeys and NewThreadUnsafeSetFromMapKeys convenience constructor methods by @jay-babu
  • Append method for adding multiple elements in a single command by @SignorMercurio

Full Changelog

v2.1.0...v2.2.0

Contributors

SignorMercurio, jay-babu, and flrdv
Loading

Major release with generics support

03 Apr 21:48
@deckarep deckarep

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.1.0

Contributors

jeffwidman and orisano
Loading

Fixes Threadsafe bug in PowerSet

15 Sep 02:17
@deckarep deckarep

Choose a tag to compare

  • Fixes PowerSet functionality which previously caused panic
  • Adds additional unit-testing
Loading
Previous 1
Previous

AltStyle によって変換されたページ (->オリジナル) /