brmmm3/fastthreadpool

imap() vs map()

Closed this issue · 1 comments

Hello, great code.
I was wondering if using imap() in place of map() would not be better for memory management?

If you look at the code (line 716) you'll see that it will automatically choose imap if the worker function is a generator.