18 points · by g-andrade · 11y ago · 5 comments
pmap: https://github.com/tafsiri/7languages/blob/master/erlang/pma...
I suppose one of the most practical features resides in the fact that it's 'consumer' based - the workers will continue trying to get work done as long as they're free and there are pending tasks (instead of a 'split first' approach, which makes more sense for homogeneous batches.)
I wouldn't use it for small-lived (< 10ms?) tasks, though - the overhead might not be worth it.