This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kristjan.jonsson
Recipients kristjan.jonsson
Date 2009-05-26.16:03:56
SpamBayes Score 2.0395854e-08
Marked as misclassified No
Message-id <1243353839.6.0.278053470116.issue6117@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-05-26 16:03:59kristjan.jonssonsetrecipients: + kristjan.jonsson
2009-05-26 16:03:59kristjan.jonssonsetmessageid: <1243353839.6.0.278053470116.issue6117@psf.upfronthosting.co.za>
2009-05-26 16:03:58kristjan.jonssonlinkissue6117 messages
2009-05-26 16:03:57kristjan.jonssoncreate