ipc pickle

Emile van Sebille emile at fenx.com
Mon Feb 25 06:57:47 EST 2002


"Janez Jere" <janez.jere at void.si> wrote in message
news:qb6k7ukvjcjg779e3ejrl6jf1e2m5fa367 at 4ax.com...
> Hi, I am experimenting with IPC, my current implementation is very
> slow, so I am asking for some hints, how to optimize it.
> Currently I know that cStringIO would cut execution time for 30%. but
> I don't want to drop unicode support
>


Define slow.  I ran some tests on various sizes, etc, and it seems OK.
At a certain size, os.write() appears to be blocked, and never returns.
That's slow... ;-)  Are you hitting something like that?  If not, look
into the profiler to see where your bottleneck is at.

--

Emile van Sebille
emile at fenx.com

---------




More information about the Python-list mailing list