pub const MAX_INDEXED: usize = 100_000;
The most files one walk keeps. The time budget bounds a walk first in practice; this bounds its memory on a tree fast enough to list a million names inside it.