"chunksize" parameter in multiprocessing.Pool.map
If I have a pool object with 2 processors for example: p=multiprocessing.Pool(2) and I want to iterate over a list of files on directory and use the map function could someone explain what is the chunksize of this function: p.map(func, iterable[, chunksize]) If I set the chunksize for example to 10 does that means every 10 files should be processed with one processor?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.