Skip to content

perf: stl remote indexing, no node_modules in local tracking W-21986538#847

Merged
mshanemc merged 3 commits intomainfrom
sm/stl-perf
Apr 11, 2026
Merged

perf: stl remote indexing, no node_modules in local tracking W-21986538#847
mshanemc merged 3 commits intomainfrom
sm/stl-perf

Conversation

@mshanemc
Copy link
Copy Markdown
Contributor

@mshanemc mshanemc commented Apr 11, 2026

What does this PR do?

Replaces O(n) linear scan for URI-encoded key resolution in RemoteSourceTrackingService with a lazily-built reverse index (Map<decodedKey, storedKey>), giving O(1) lookup in both getSourceMember and setMemberRevision. Index is built on first access and updated incrementally on writes.

don't do local tracking of node_modules

What issues does this PR fix or reference?

@W-21986538@

Made with Cursor

@mshanemc mshanemc requested a review from peternhale April 11, 2026 01:54
@mshanemc mshanemc changed the title perf: STL remote indexing O(1) decoded-key resolution W-21986538 perf: stl remote indexing, no node_modules in local tracking W-21986538 Apr 11, 2026
@mshanemc mshanemc merged commit 7bf1d7a into main Apr 11, 2026
23 checks passed
@mshanemc mshanemc deleted the sm/stl-perf branch April 11, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants