mirror of
https://github.com/tobi/disktree.git
synced 2026-12-04 08:01:05 +00:00
Switching the metric re-ranks the tree in place instead of cloning it, which on a whole disk is tens of millions of nodes copied to change an order. A frame builds label text only for the tiles whose labels it will draw, and reuses the set of marked crumbs until the marks or the tree change. The sibling menu names only the rows it shows, layout picks its kept children with a partial sort, and `Node::find` walks a real queue. The free-space ticker asks the volume off the UI thread, since a network or sleeping drive can take seconds to answer, and shift-scroll panning is clamped like every other way of moving the view. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>