ipc pickle
Janez Jere
janez.jere at void.si
Mon Feb 25 13:02:44 EST 2002
>
>
> 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.
os.write blocks because pipe buffer is full and there is no reader
thread to empty the buffer. I just want to learn how to write more
efficient python code. There is no known bottleneck here, because the
whole application is far from being complete.
Regards, Janez
More information about the Python-list
mailing list