3 ms·
struct{} is better because it doesn't do an allocating. See: https://github.com/fatih/set/blob/master/set_ts.go#L18 https://github.com/fatih/set/blob/master/set
by farslan 12y ago
struct{} is better because it doesn't do an allocating. See: https://github.com/fatih/set/blob/master/set_ts.go#L18 https://github.com/fatih/set/blob/master/set_ts.go#L18