mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-07 14:33:34 +00:00
limit() replaced each too-deep container by its children with Vec::splice in the middle of the sibling list, moving every later sibling each time: a wide list of such containers took quadratic time to load. The list is now rebuilt in order from a worklist, so each node moves a bounded number of times.