mirror of https://github.com/grpc/grpc.git
There is usually 9 metadata in incoming headers. We are calling arena_alloc for all of them and that accounts for 75% of the calls to arena_alloc. Simply preallocate 10 of them in the structure so that we can avoid the atomic op, per header.pull/18474/head
parent
62ba0b89b1
commit
88fe29c63d
2 changed files with 15 additions and 6 deletions
Loading…
Reference in new issue