Message178403
Alright, here's a simple patch bumping the buffers to 64K for asyncore
and asynchat.
> There is another problem with dispatcher_with_send: the buffering algorithm (both when appending and popping) is quadratic. You can easily observe it with your test script, when growing the DATA. async_chat looks much saner in that respect, I wonder why the same algorithm couldn't it be re-used.
Yeah, I noticed that.
But even in asynchat, there's a lot of copying going on, length
computations performed twice in a row, etc.
> (regardless, reading the asyncore code really hurts the eyes :-/)
Indeed. |
|
Date |
User |
Action |
Args |
2012-12-28 17:49:01 | neologix | set | recipients:
+ neologix, josiahcarlson, pitrou, giampaolo.rodola, josiah.carlson, xdegaye |
2012-12-28 17:49:01 | neologix | link | issue16787 messages |
2012-12-28 17:49:00 | neologix | create | |
|