4 ms·
Yeah, I was exaggerating a bit, but yes I think there could be room for bugs depending on what more involved operations are offered beyond basic membership test
by frou_dh 13y ago
Yeah, I was exaggerating a bit, but yes I think there could be room for bugs depending on what more involved operations are offered beyond basic membership tests.
Anyway, have you seen the map[T]struct{} idiom for Go? Decent enough for the basic case.