Hacker News new | past | comments | ask | show | jobs | submit login

Yup, a Vec with binary search is basically all these are. Tree rebuilding is "just" sorting the Vec. To the extent that's fast enough for small updates (merge sort with new elements) you can update rather often without issue.



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

Search: