News for hackers. Stuff that matters.
Re:Subcases and Hierarchy by sanj on Wednesday September 02, 2009 @03:23PM (#800902)
You're exactly right. Any insert will end up incrementing every node on its right. Any deletion, will end up decrementing every node on its left.

It's possible you could do the deletions silently, because you don't actually care about gaps. But I don't see any way around inserts being expensive.

There are no comments on this comment yet.