Back to Pull RequestsView on GitHub
#5878Closed
Simple Review
refactor(router-core): findSingleMatch caches the trees it generate in an LRUCache, not a Map
by Sheraff•Nov 16, 2025
Summary
This pull request corrects a minor oversight by replacing a `Map` with an `LRUCache` for caching route trees in the `findSingleMatch` function. This ensures consistent memory management with other caching mechanisms in the router.
Changes
+2 additions-2 deletions
Impact Areas
PerformanceInternal Caching