On Mon, Mar 7, 2011 at 7:47 PM, Vincent Ren <renws1...@gmail.com> wrote:
> Got it, thanks.
> But what should I do if I want to improve the efficiency of my
> program?
>

Is there any particular reason you're using processes and not threads?
Functions that wait for stuff to happen in C land, such as I/O calls,
release the GIL so threads can be run in parallel. It's only stuff
that happens in Python land (i.e. manipulating Python objects) that
can't be run concurrently.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to