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
perf: optimize package metric lookup in getPackageTimestampWarnings (#22)
Replaced O(N*M) Array.find inside a loop with O(1) Map lookups and
backward-iterating prefix search. This significantly improves performance
when processing large metric dictionaries with many package candidates.
Measured ~10x speedup with 100 packages and 5000 dictionary entries.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: sunnylqm <615282+sunnylqm@users.noreply.github.com>
0 commit comments