Message48715
Logged In: YES
user_id=747439
There was generally a 5-10% speed improvement for using a
string. This is because the cost of recreating the string
by appending was less than the cost of creating an array,
appending the the array, and then joining it back together.
I would recommend trying leaving it as a string, but
changing this:
if readsize > self.min_readsize:
self.min_readsize = int(self.min_readsize * 1.25)
(or some kind of scaling factor) |
|
Date |
User |
Action |
Args |
2007-08-23 15:43:49 | admin | link | issue1281707 messages |
2007-08-23 15:43:49 | admin | create | |
|