Hi,
We are testing the boost::copy vs queue.enqueue_read_buffer and I'm finding the queue.enqueue_read_buffer approach to be consistently slower for low volume data. Is there something that we are missing? Will this work with the same performance higher volumes of data?
I find the queue.enqueue_read_buffer the most desirable copy format since It allows me to pass __read_only flags. Is it possible to pass __real_only to boost::copy?
This would be the case with enqueue_read_buffer
https://pastebin.com/hGaH7eyqand this would be with boost::copy.
https://pastebin.com/h8BTpbLVThere is almost a 40% in time difference. And I don't really know why, is boost::copy using something better under the hood?
Thanks