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

With two years of working in Go at two companies, I have never had to write that. I can't remember writing the equivalent in Python over even more years, either. The 99% case is building a list/slice, not removing from one.

Have you ever had to remove elements from a list/slice?



Yes, a sorted vector is a common data structure for frequent queries and infrequent updates.




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

Search: