Skip to content

Commit

Permalink
Updating final info
Browse files Browse the repository at this point in the history
  • Loading branch information
deckarep committed Mar 27, 2022
1 parent c480848 commit 1035f5f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Expand Up @@ -4,17 +4,24 @@

# golang-set

The missing set collection for the Go language. Until Go has sets built-in...use this.
The missing `generic` set collection for the Go language. Until Go has sets built-in...use this.

## Update 12/25/2021
* `alpha` release on this `generics` branch
* supports `new generic` syntax
* Go `1.18beta1` or higher

![With Generics](new_improved.jpeg)

Coming from Python one of the things I miss is the superbly wonderful set collection. This is my attempt to mimic the primary features of the set collection from Python.
You can of course argue that there is no need for a set in Go, otherwise the creators would have added one to the standard library. To those I say simply ignore this repository and carry-on and to the rest that find this useful please contribute in helping me make it better by contributing with suggestions or PRs.

## Features

* *NEW* [Generics](https://go.dev/doc/tutorial/generics) based implementation (requires [Go 1.18beta1](https://go.dev/blog/go1.18beta1) or higher)
* One common interface to both implementations
* a non threadsafe implementation designed for performance
* a threadsafe implementation designed for concurrent use
* One common *interface* to both implementations
* a **non threadsafe** implementation favoring *performance*
* a **threadsafe** implementation favoring *concurrent* use
* Feature complete set implementation modeled after [Python's set implementation](https://docs.python.org/3/library/stdtypes.html#set).
* Exhaustive unit-test and benchmark suite

Expand Down
Binary file added new_improved.jpeg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1035f5f

Please sign in to comment.