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

Will we also eventually get a generic sync.Map?
 help



It’d be nice to have in stdlib, but it’s pretty trivial to write a generic wrapper for it

Would be great to see that - there are multiple GH issues for that. But so far, I'm not convinced that Google prioritizes community requests over its own needs.

Almost certainly, since the internal HashTrieMap is already generic. But for now this author's package stands in nicely.



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

Search: