News for hackers. Stuff that matters.
Re:The surprisingly difficult problem of user-defined order ... by throwaway189262 on Saturday January 16, 2021 @06:19AM (#25801558)
You can emulate a tree easily by just putting new items half way between adjacent ones. If two items are next to each other have a fallback that regenerates the "tree" by re spacing all the items. Re generating the spacing is expensive but rare if you pick a big enough range.

There are no comments on this comment yet.