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.
Source Distribution
pmap-0.0.6.tar.gz
(1.5 kB
view details)
File details
Details for the file pmap-0.0.6.tar.gz
.
File metadata
- Download URL: pmap-0.0.6.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8050b8a4cff953852f0107f9e009340bb5eec6ae91d6f5f211015ac4cb46743 |
|
MD5 | 9e20a72ff023afce7ab9e7d369dc2971 |
|
BLAKE2b-256 | 9f5409a1c020781aa8574fb2838f6044d8a171621bc7aa3a056cc55ba348e421 |