netty / netty-incubator-transport-io_uring

Apache License 2.0
193 stars 38 forks source link

Minor allocation optimization #235

Closed Hin4t3n2D closed 8 months ago

Hin4t3n2D commented 8 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 8 months ago

Closed as explained in the comment before.