mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-10 09:59:47 -06: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.