Skip to content

Conversation

@JamesNK
Copy link
Member

@JamesNK JamesNK commented Aug 30, 2020

Fixes #784

  • Reuse serialization contexts when streaming
  • Initialize write buffer initial capacity
  • Write directly to pooled array when length is known and there is no compression

@JamesNK JamesNK requested a review from JunTaoLuo August 30, 2020 02:26
@JamesNK JamesNK force-pushed the jamesnk/client-writer-optimization branch from cd8622b to c4310df Compare September 2, 2020 02:49
@JamesNK JamesNK force-pushed the jamesnk/client-writer-optimization branch from c4310df to 88bbd65 Compare September 2, 2020 03:22
@JamesNK JamesNK merged commit b10480c into grpc:master Sep 2, 2020
@JamesNK JamesNK deleted the jamesnk/client-writer-optimization branch September 2, 2020 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimize header allocation when using array writer

2 participants