Update: We have made generating sets for your own types really easy now:
* go_generate tool was forked and you can just go-get it, see https://github.com/mmatczuk/go_generics * all the generation procedure was wrapped in a bash script In addition to that the original set implementation from github.com/fatih/set package was improved, most notably Copy, Union and Intersect are smarter in terms of memory management. On Monday, August 6, 2018 at 7:26:23 PM UTC+2, hen...@scylladb.com wrote: > > Go-set is a type-safe, zero-allocation set implementation for Go. > > https://github.com/scylladb/go-set > > At Scylla we are long time users of https://github.com/fatih/set > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Ffatih%2Fset&sa=D&sntz=1&usg=AFQjCNHaldanWbIvAJGzvh93TP6vgRAD_g> > > and after it’s discontinuation we wanted to still use it. We therefore > created an enhanced clone with a typesafe API and high performance. > > We like generics a lot so we used the Google tool “go_generics” from the > gVisor [1] code base to generate the concrete implementations. Most of the > simple language builtin types are supported. > > > If you enjoy go-set come work with us, we are hiring Go Developers. Learn > more at https://www.scylladb.com/company/careers/ > > > [1] https://github.com/google/gvisor/tree/master/tools/go_generics > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.