a multithreaded map operator
Project description
# PMAP
`pmap` is a multithreaded `map` functional operator that, differently from other implementations, _keeps the ordering_ of the input list.
Usage examples:
In [1]: from pmap import pmap
In [2]: pmap (lambda x:x*x, range(10))
Out[2]: [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
`pmap` is a multithreaded `map` functional operator that, differently from other implementations, _keeps the ordering_ of the input list.
Usage examples:
In [1]: from pmap import pmap
In [2]: pmap (lambda x:x*x, range(10))
Out[2]: [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size pmap-0.0.5.macosx-10.8-intel.tar.gz (1.9 kB) | File type Dumb Binary | Python version any | Upload date | Hashes View |
Close
Hashes for pmap-0.0.5.macosx-10.8-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2183e3304f284585c1cd12d54d9e492508b67910a8c0dd9b7afda6262cde21b9 |
|
MD5 | c244dd27fab6b8a228a05e34fe20c44b |
|
BLAKE2-256 | 7afcd0c24dbb1ff3fba01e0b0cf8be5b6a376a6a76172ae3a8843cd83054c9d0 |