I'm trying to learn how to use Python's multiprocessing package, but I don't understand the difference between map and imap.
Is the difference that map returns, say, an actual array or set, while imap returns an iterator over an array or set? When would I use one over the other?
Also, I don't understand what the chunksize argument is. Is this the number of values that are passed to each process?