Aug-21-2021, 08:35 PM
(This post was last modified: Aug-21-2021, 08:35 PM by samuelbachorik.)
Hi i want to ask you what is the difference betwen map() and submit()
Two codes examples
Two codes examples
with concurrent.futures.ProcessPoolExecutor() as executor:
results = [None] * 50
for x in range(50):
results[x] = executor.map(function) with concurrent.futures.ProcessPoolExecutor() as executor:
results = [None] * 50
for x in range(50):
results[x] = executor.submit(lfunction)
My github:
https://github.com/Samuel-Bachorik
https://github.com/Samuel-Bachorik
