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

sync.Map is slower than searching a slice of k-v struct for roughly <1000 elements.

Go designed their map implementation to be unsafe for both read and write. I kind of don't care, i was trying to point out something simple and everyone is nitpicking.



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

Search: