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
Memoize compiled code on a tuple key (arity, names, static, cached) instead of the frozen _Shape dataclass
resolver_compiler.py:190-196
G8 cold 24.4 -> 20.8 us (-15%)
Inline find_context into the ContextProvider resolver (keep in + [])
resolver_compiler.py:280
direct context resolve 160 -> 134 ns, G9 -6%; removes a second frame per context node
Skip the cache close when nothing was created
container.py:213,221
request cycle with nothing cached -6 to -11%
Dropping abc.ABC from AbstractProvider (another G8 -4%, Marker.resolve -30%) is in the provider-surface issue.
Rejected: building the child via object.__new__ (another -15-20% on G6 but duplicates construction logic) and is instead of == for scope checks (3.14-only gain).
Acceptance
Before/after numbers for G6, G7, G8, G9 in the PR; frame-budget test still green.
Activity
perf: cheaper request cycle and cold path (#573)