Author pitrou
Recipients giampaolo.rodola, josiah.carlson, josiahcarlson, neologix, pitrou, xdegaye
Date 2012-12-28.17:28:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356715733.36.0.749982594979.issue16787@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that 64K seems better here (on Linux).
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.

(regardless, reading the asyncore code really hurts the eyes :-/)
History
Date User Action Args
2012-12-28 17:28:53pitrousetrecipients: + pitrou, josiahcarlson, giampaolo.rodola, josiah.carlson, neologix, xdegaye
2012-12-28 17:28:53pitrousetmessageid: <1356715733.36.0.749982594979.issue16787@psf.upfronthosting.co.za>
2012-12-28 17:28:53pitroulinkissue16787 messages
2012-12-28 17:28:53pitroucreate