Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: