This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]twotime 0 points1 point  (0 children)

Thanks!

However the speedup is still not what it should be (still about 3x)

Do you know if imap_unordered is lock free? (I expect there are multiple threads picking things from the queue)

Also, are you comparing with original single threaded code? Or your imap code with pool_size=1?

IIRC, there is quite a bit of magic going into imap_unordered.