pvalmap
andpkeymap
functions to map over the values and keys of a dictionary.
pmap
need to start work on thread pool unconditional ofderef
call.
Future
now takes apool
argument to specify a thread pool.Future
now implements__call__
to allowFuture(f)("foo", k=42)
style to pass additional arguments.Future.deref()
now accepts an optionaltimeout
parameter to avoid blocking forever.- Introduce
Deferred
object to encapsulate deferred results and re-throwing with original traceback.
- Keep original traceback when re-throwing errors on realization of
pmap
generator.
- Introduce
pmap
function for mapping over collection (lazily) in parallel.