mndrix / list_util

Prolog list utility predicates
The Unlicense
11 stars 5 forks source link

Add par_maplist/{2,3,...} #9

Closed mndrix closed 10 years ago

mndrix commented 10 years ago

Implement a parallel version of the maplist predicates which uses a pool of workers (one per CPU) to evaluate each goal. The architecture is roughly:

I have a simulation job whose core operation is performing a maplist/3 to calculate many independent values. It would be nice to use all cores for this operation.

mndrix commented 10 years ago

library(thread) already has concurrent_maplist/{2,3,4} so this is not needed.