26 May 2012 06:17
Re: pmap, preduce, pmapreduce?
On 25 May 2012 18:37, Mike Meyer <mwm <at> mired.org> wrote: > Another crazy idea that may not be possible, based on my finally > getting around to watching Guy Steele's talks about what he's up to > these days (http://vimeo.com/6624203). > > Given a function that takes a list (or a container class which len > doesn't consume) and a function, and then applies that function to the > list in some way: either element wise, or in pairs of elements/results, > but does it in parallel. It will hold the GIL, but run the function > calls in distinct threads, meaning two applications of the function > could interfere with each other. Just like the already existing "map" method in concurrent.futures.Executor ? * js -><- * all praise the Python time machine > <mike > -- > Mike Meyer <mwm <at> mired.org> http://www.mired.org/ _______________________________________________ Python-ideas mailing list Python-ideas <at> python.org http://mail.python.org/mailman/listinfo/python-ideas
RSS Feed