You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 43f9c1b
Browse filesBrowse the repository at this point in the historyBrowse files
Scan the directory locators of the lazy source locator in one batch
Before forking, PreForkDirectorySymbolScanner collects every directory
locator and scans them in one go. With a single worker the locators are
created lazily in that worker instead, where each directory was scanned on
its own. The lazy initializer now batches them the same way.
beginBatchedScan() and flushBatchedScan() switched the factory into a
collecting mode that everything calling it in between took part in.
createBatch() returns an object instead: the locators added to it are
scanned by its scan(), and the repository and the Composer locator maker add
to it when they are given one.
A batch can hold two locators with the same cache key (odsl-installed-files
of two Composer projects), and taking the scan lock for the second one does
not wait for the lock the same process holds for the first.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GdwtgiEHwkF5BTz73jgHQQ
0 commit comments