Message71131
Antoine:
> I think if you move the line defining "str" out of the loop, relative
> timings should change quite a bit. Chances are that the random
> functions are not very fast, since they are written in pure Python.
Well I wanted to test throwing lots of different URIs to test the
caching behaviour. You're right though, probably a small % of the time
is spent on calling quote.
Oh well, the defaultdict implementation is in patch10 anyway :) It
cleans Quoter up somewhat, so it's a good thing anyway. Thanks for your
help. |
|
Date |
User |
Action |
Args |
2008-08-14 15:31:40 | mgiuca | set | recipients:
+ mgiuca, gvanrossum, loewis, jimjjewett, janssen, orsenthil, pitrou, thomaspinckney3 |
2008-08-14 15:31:40 | mgiuca | set | messageid: <1218727900.59.0.385481256799.issue3300@psf.upfronthosting.co.za> |
2008-08-14 15:31:39 | mgiuca | link | issue3300 messages |
2008-08-14 15:31:39 | mgiuca | create | |
|