Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
scarboy
· 13y ago · 0 comments
You should be using map[T]struct{} for sets instead of bool. struct{}s use 0 bytes and there will be no confusion as to what the value is for.
Comments
No comments yet.
Better HN