netty / netty-incubator-transport-io_uring

Apache License 2.0
195 stars 39 forks source link

Minor allocation optimization #235

Closed Hin4t3n2D closed 9 months ago

Hin4t3n2D commented 9 months ago

At the moment, for every multiple write operation an iov array buffer is allocated. Which cause some churn when there are high volume of writes. Considering at max there can be Limits.IOV_MAX values, creating the ByteBuf once and re-using it based on the elements in the schedule operation.

normanmaurer commented 9 months ago

Closed as explained in the comment before.