Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
inciampati
88 days ago
|
parent
|
context
|
favorite
| on:
Ask HN: Fast data structures for disjoint interval...
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: