ah cool, yeah mine is a prototype I did a year ago. I just didn't want it to be lost out there.
On 2013-02-27, at 08:47, stephane ducasse <[email protected]> wrote: > camillo > > you should discuss with olivier auverlot because he implemented > fasterthanlight (in sthub/rmod) a pool manager for netwrok > connection. > > Stef > > > Begin forwarded message: > >> From: [email protected] >> Subject: [Pharo-bugtracker] Issue 7608 in pharo: Add a parallel Collection >> enumeration >> Date: February 26, 2013 11:03:36 PM GMT+01:00 >> To: [email protected] >> Reply-To: [email protected] >> >> Status: Accepted >> Owner: [email protected] >> Labels: Type-Feature Target-Collection Milestone-3.0 >> >> New issue 7608 by [email protected]: Add a parallel Collection >> enumeration >> http://code.google.com/p/pharo/issues/detail?id=7608 >> >> I starte a small project to implement parallel operations on these >> collection. >> >> Example: >> -------- >> >> "Download url contents in parallel" >> urls parallel collect: [ :url | ZnClient get: url ] >> >> "Download url contents with 100 connections in parallel" >> (urls parallel: 100) collect: [ :url | ZnClient get: url ] >> >> >> New Classes: >> ------------ >> - ParallelIterator >> Manages the number of concurrent processes and implementes the basic >> enumeration methods (such as #do: #select: #collect:) in a parallel manner >> - ThreadPool: following the java implementation, manages a set of threads >> and runs only a certain amount of processes in parallel >> >> >> Parallel Methods so far: >> ------------------------ >> - allSatisfy: >> - anySatisfy: >> - collect: >> - collect:thenSelect: >> - detect: >> - do:without: >> - noneSatisfy: >> - reject: >> - withIndexDo: >> - detect:ifNone: >> - do: >> - doWithIndex: >> >> Application: >> ------------ >> Mainly when doing file and network operations it is nice to have a simple >> parallel interface >> >> >> Sources: >> -------- >> http://smalltalkhub.com/#!/~dh83/parallel-iterator >> >> -- >> You received this message because this project is configured to send all >> issue notifications to this address. >> You may adjust your notification preferences at: >> https://code.google.com/hosting/settings >> >> _______________________________________________ >> Pharo-bugtracker mailing list >> [email protected] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker >
