News for hackers. Stuff that matters.
Re:Why Go and Not Rust? by masklinn on Tuesday September 17, 2019 @07:37AM (#20993788)
> I'm slightly surprised you found three different set implementations - `map[T]struct{}` is the idiomatic one i see everywhere.

Set storage is not really the concern here, it's the set-theoretic operations which make sets useful (generally speaking, there are cases where all you need is the set being a set e.g. deduplication).

So I wouldn't be surprised that GP found several different implementations of union, intersection, difference, symmetric difference, subset, superset, …

There are no comments on this comment yet.