summaryrefslogtreecommitdiff
path: root/integrationtests
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-28 11:22:32 +0200
committerPaul Buetow <paul@buetow.org>2026-03-28 11:22:32 +0200
commit2c1930adf4355b7d0b113f3a2f9573c4f961420e (patch)
tree3d6884d50240b8ae6633084adefa286d12706f72 /integrationtests
parentdbc9c19f8306aa095350abb2edef353c3c44d402 (diff)
perf: replace linear scan with O(1) map lookup in task alias cache
Add in-memory byUUID and byAlias maps to taskAliasCache so that ensureAlias, lookupUUIDByAlias, and lookupAliasByUUID all run in O(1) instead of scanning the full entries slice. Maps are rebuilt after every mutation (load, prune, append) to avoid stale pointers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'integrationtests')
0 files changed, 0 insertions, 0 deletions