Author neologix
Recipients giampaolo.rodola, josiah.carlson, josiahcarlson, neologix, pitrou, xdegaye
Date 2012-12-28.17:49:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
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 :-/)

File name Uploaded
asyncore_buffsize.diff neologix, 2012-12-28.17:49:00
Date User Action Args
2012-12-28 17:49:01neologixsetrecipients: + neologix, josiahcarlson, pitrou, giampaolo.rodola, josiah.carlson, xdegaye
2012-12-28 17:49:01neologixlinkissue16787 messages
2012-12-28 17:49:00neologixcreate