I see two typical variants: - Direct: Always sorts on write() and modify() - Lazy: Sorts lazily on read()read() of course uses binarySearchYou won't be able to grow that range, would you?
Why, because of slice invalidation?
I see two typical variants: - Direct: Always sorts on write() and modify() - Lazy: Sorts lazily on read()read() of course uses binarySearchYou won't be able to grow that range, would you?
Why, because of slice invalidation?