Skip to content

Comments

Add metadata caches and package comparer#519

Merged
SimonCropp merged 2 commits intomainfrom
Add-metadata-caches-and-package-comparer
Feb 17, 2026
Merged

Add metadata caches and package comparer#519
SimonCropp merged 2 commits intomainfrom
Add-metadata-caches-and-package-comparer

Conversation

@SimonCropp
Copy link
Owner

No description provided.

Add a global using for ConcurrentCollections and introduce PackageCacheKeyComparer to compare (package, NuGetVersion) tuple keys case-insensitively. Add two ConcurrentDictionary caches (metadataCache and latestVersionCache) to Updater and use them to short-circuit repository reads; cache entries (including null) are populated to avoid repeated package metadata/resolution calls.
@SimonCropp SimonCropp added this to the 4.1.3 milestone Feb 17, 2026
@SimonCropp SimonCropp merged commit 2875d2e into main Feb 17, 2026
6 checks passed
@SimonCropp SimonCropp deleted the Add-metadata-caches-and-package-comparer branch February 17, 2026 22:43
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.

1 participant