News for hackers. Stuff that matters.
Re:Go 1.18 by fileeditview on Wednesday March 16, 2022 @03:39AM (#30696247)
You can also use a map[T]struct{}. I like bool better because of the default value behavior but struct{} is very clear and does not take extra memory.

There are no comments on this comment yet.