Message86203
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. |
|
Date |
User |
Action |
Args |
2009-04-20 19:01:31 | dmbaggett | set | recipients:
+ dmbaggett |
2009-04-20 19:01:31 | dmbaggett | set | messageid: <1240254091.33.0.632025917195.issue5803@psf.upfronthosting.co.za> |
2009-04-20 19:01:29 | dmbaggett | link | issue5803 messages |
2009-04-20 19:01:28 | dmbaggett | create | |
|