An example of how one can partition a large file and process it in parallel. The core function is `partition`. Also look at how multiprocessing's starmap_async is used to get the result.
Stefano Mazzucco fb65c2920c Remove chunksize from starmap_async | %!s(int64=6) %!d(string=hai) anos | |
---|---|---|
.gitignore | %!s(int64=6) %!d(string=hai) anos | |
LICENSE | %!s(int64=6) %!d(string=hai) anos | |
README | %!s(int64=6) %!d(string=hai) anos | |
partition.py | %!s(int64=6) %!d(string=hai) anos |