From the look at this code, their functionality will be basically the same - the only difference is that pmap uses futures launched in Agent threadpool as a basic primitive, while pvmap uses fork-join.
I canβt say for sure, but I would expect that what works better in the general case will become the standard implementation for pmap , unless there are enough significant trade-offs to have as worthwhile,
It also looks (at least for now), the fork-join framework supports only vectors, so it is not semi-lazy like pmap .
levand
source share