Multiprocessing, shared memory vs. pickled copies

Miki Tebeka miki.tebeka at gmail.com
Sun Apr 10 12:11:35 EDT 2011


> Now, I don't know that I actually HAVE to pass my neural network and
> input data as copies -- they're both READ-ONLY objects for the
> duration of an evaluate function (which can go on for quite a while).
One option in that case is to use "fork" (if you're on a *nix machine).
See http://pythonwise.blogspot.com/2009/04/pmap.html for example ;)

HTH
--
Miki Tebeka <miki.tebeka at gmail.com>
http://pythonwise.blogspot.com



More information about the Python-list mailing list