unicode() vs. s.decode()
thorsten at thorstenkampe.de
Sat Aug 8 14:28:54 CEST 2009
* garabik-news-2005-05 at kassiopeia.juls.savba.sk (Fri, 7 Aug 2009
17:41:38 +0000 (UTC))
> Thorsten Kampe <thorsten at thorstenkampe.de> wrote:
> > If you increase the number of loops to one million or one billion or
> > whatever even the slightest completely negligible difference will
> > occur. The same thing will happen if you just increase the corpus of
> > words to a million, trillion or whatever. The performance
> > implications of that are exactly none.
> I am not sure I understood that. Must be my English :-)
I guess you understand me very well and I understand you very well. If
the performance gain you want to prove doesn't show with 600,000 words,
you test again with 18,000,000 words and if that is not impressive
enough with 600,000,000 words. Great.
Or if a million repetitions of your "improved" code don't show the
expected "performance advantage" you run it a billion times. Even
greater. Keep on optimzing.
More information about the Python-list