cloudwego / netpoll

A high-performance non-blocking I/O networking framework focusing on RPC scenarios.
Apache License 2.0
4.07k stars 470 forks source link

feat: New Reuse and Initialize method added to LinkBuffer #309

Closed JHue58 closed 9 months ago

JHue58 commented 9 months ago

When used with sharequeue, the nodes of LinkBuffer are set to nil after Append, which prevents reuse and causes significant GC pressure.

CLAassistant commented 9 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


xjh seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.