You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that you unconditionally use zero-copy and message tracking when you send messages, and only use the tracker as a sort of 'blocking' flag. I wouldn't really recommend taking this approach for a couple of reasons:
zero-copy is actually slower than copying unless messages are large, thanks to the thread coordination involved in dealloc of zero copy messages.
you rarely actually need to wait for zeromq to be done with a message (this misses some of the point of zmq). The main reason to track messages is to avoid memory corruption of arrays that you plan to change.
The text was updated successfully, but these errors were encountered:
I see that you unconditionally use zero-copy and message tracking when you send messages, and only use the tracker as a sort of 'blocking' flag. I wouldn't really recommend taking this approach for a couple of reasons:
The text was updated successfully, but these errors were encountered: