Created
April 29, 2021 15:20
-
-
Save TheLoneNut/22dc387a73871b2e666f36ff996eae83 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def my_list_processing(l): | |
| return sum(l) | |
| elements = [i for i in range(1000)] | |
| results = [] | |
| def reducing(e): | |
| results.append(e) | |
| simpleMultiprocessing(elements, my_list_processing, reducing, verbose=True) | |
| print(results) | |
| result = sum(results) | |
| print(result) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment