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
Commit 781531a
Browse filesBrowse the repository at this point in the historyBrowse files
Cache the kOnHeadersComplete, kOnBody and kOnMessageComplete callback
lookups per parser instead of doing an object property Get on every
message. These callbacks are assigned once when the parser object is
created and never change; the cache is cleared in Init() so
re-initialized parsers (direct binding users) stay correct.
No observable behavior change; all header/parser tests pass. On a
keep-alive server this is a small but consistent CPU reduction.
Signed-off-by: Matteo Collina <hello@matteocollina.com>
0 commit comments