Description
Hi all,
So there are various statements throughout the async code that call 'events.size', mostly for debugging purposes.
Problem is that this call is O, so it could add up if the batch size is high. (it's a ListBuffer)
I see this in at least ProducerSendThread (x4), likely more. Will factor this out myself soon when I start hacking on the project, just wanted to put this somewhere.