A small improvement would be to parse the data async without the “barrier” flag and only append…
Hamdullah Shah
11

Hi!

Thanks for commenting!

One would have to be a little bit careful if the data you’re parsing is dependent on order. Parsing async and in parallel, and then adding it into our queue has the potential of changing the order of the incoming data, it all depends on how the threads are prioritized when it comes to processing time and how fast the packets are coming in.

As long as that is something you take into consideration, this could be an acceptable improvement.