Author mgiuca
Recipients gvanrossum, janssen, jimjjewett, loewis, mgiuca, orsenthil, pitrou, thomaspinckney3
Date 2008-08-14.15:31:39
SpamBayes Score 0.00025395
Marked as misclassified No
Message-id <1218727900.59.0.385481256799.issue3300@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-08-14 15:31:40mgiucasetrecipients: + mgiuca, gvanrossum, loewis, jimjjewett, janssen, orsenthil, pitrou, thomaspinckney3
2008-08-14 15:31:40mgiucasetmessageid: <1218727900.59.0.385481256799.issue3300@psf.upfronthosting.co.za>
2008-08-14 15:31:39mgiucalinkissue3300 messages
2008-08-14 15:31:39mgiucacreate