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
Add sliceHeader for zero-copy parsing of message headers, use for client info (#6453)
In the various places that we are handling client info from headers,
like when queuing and pulling from the JS API queue or due to the
service export, we could safely refer to the underlying header slice,
instead of making a copy as `getHeader()` does today.
This PR adds a new `sliceHeader()` that merely slices the input header
instead, reducing copies considerably in any system where there is heavy
usage of JS API requests.
Signed-off-by: Neil Twigg <[email protected]>
0 commit comments