stringset: reduce memory allocation in the String method

Contributed by https://github.com/yuryu
1 file changed
tree: 431fb90aa0e7ed7fc42c7d08f762bbc6716aa456
  1. tools/
  2. bitbucket-pipelines.yml
  3. examples_test.go
  4. go.mod
  5. go.sum
  6. LICENSE
  7. README.md
  8. stringset.go
  9. stringset_test.go
README.md

stringset

http://godoc.org/bitbucket.org/creachadair/stringset

Go Report Card

The stringset package implements a lightweight set-of-strings type based around Go's built-in map type.