Message88366
the socket._fileobject._wbuf is a list of strings to output. This patch
keeps the length of this buffer as a separate member variable, rather than
computing it dynamically, which sums to a O(n**2) operation as the buffer
is filled up. Significant performance degradation was observed when
outputting lots of small data to a buffered socket using the old method. |
|
Date |
User |
Action |
Args |
2009-05-26 16:03:59 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson |
2009-05-26 16:03:59 | kristjan.jonsson | set | messageid: <1243353839.6.0.278053470116.issue6117@psf.upfronthosting.co.za> |
2009-05-26 16:03:58 | kristjan.jonsson | link | issue6117 messages |
2009-05-26 16:03:57 | kristjan.jonsson | create | |
|