Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

Sorted arrays are a common choice that I've seen people go to in lieu of std::set, but a proper B-tree implementation kicks butt compared to a sorted array for performance when mutating data, and actually an unsorted array tends to kick but for small array sizes (<100 elements).


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

Search: