Author dmbaggett
Recipients dmbaggett
Date 2009-04-20.19:01:28
SpamBayes Score 0.0011938
Marked as misclassified No
Message-id <1240254091.33.0.632025917195.issue5803@psf.upfronthosting.co.za>
In-reply-to
Content
The implementation of encode and decode are slow, and scale nonlinearly
in the size of the message to be encoded/decoded.

 A simple fix is to use an array.array('c') and append to it, rather
than using string concatenation. This change makes the code more than an
order of magnitude faster.
History
Date User Action Args
2009-04-20 19:01:31dmbaggettsetrecipients: + dmbaggett
2009-04-20 19:01:31dmbaggettsetmessageid: <1240254091.33.0.632025917195.issue5803@psf.upfronthosting.co.za>
2009-04-20 19:01:29dmbaggettlinkissue5803 messages
2009-04-20 19:01:28dmbaggettcreate