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
{{ message }}
Repository navigation
perf: protocol.getattr allocates PyMethodObject on every response in response.rs #251
In CPython, p.getattr("...") resolves the descriptor and allocates a temporary bound method (PyMethodObject) on the heap for every response.
Fix direction:
Use p.call_method1("response_str", (status, h, text))? (and equivalent call_method1 calls). This invokes the CPython vectorcall / fast method call API directly without allocating method objects.
Activity
Merge pull request #258 from QueryaHub/issue-251-protocol-call-method
ZhuchkaTriplesix commentedon Oct 18, 2026
Resolved in PR #258