Replies: 1 comment 2 replies
-
Hi @plewam thank you for reporting the question. We can add it, but we would do the same rabbitmq-stream-dotnet-client/RabbitMQ.Stream.Client/Publish.cs Lines 33 to 54 in cf8c927 I don't know the percentage of gain in terms of performance using an array instead of a List. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
In my streaming system I internally work with arrays for faster access. However when I push to rmq streams I always have to convert my already existing array into a list by calling
ToList()
.await Producer.Send(streamMessage.ToList(), CompressionType.Gzip).ConfigureAwait(false);
As far as I understand it, it would only make sense for the batch feature.
Not a big deal, but more a smaller performance improvement.
Beta Was this translation helpful? Give feedback.
All reactions