On Wed Jun 22 18:22:04 2022 +0000, Josh Simmons wrote:
Unsolicited nit, but since these are separately locked queues they should probably be padded out to be on their own cache lines to avoid false sharing. (No idea whether this API is hot enough for that to be truly important, though)
I don't think it will need additional optimizations. The fact that I have used separate locks is just an implementation detail. We can try to optimize it further in future if needed.