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 O(N) list iteration in _check_model_exists (#717)
Replaces the O(N) list iteration in _check_model_exists with an O(1)
dictionary lookup by reusing the model description cache.
Introduces a private _ensure_model_cache method to consolidate cache
initialization logic and ensure consistent lookup behavior.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
0 commit comments