[Python-Dev] Re: Python 2.1 slower than 2.0

Fredrik Lundh fredrik@pythonware.com
Mon, 29 Jan 2001 13:30:32 +0100


mal wrote:
>                UnicodeMappings:    1631.65 ms   90.65 us  +42.76%
>              UnicodePredicates:    1762.10 ms    7.83 us  +15.99%
>              UnicodeProperties:    1410.80 ms    7.05 us  +19.57%
>                 UnicodeSlicing:    1366.20 ms    7.81 us  +19.23%
>
> Unicode mappings and other Unicode database related methods
> show the effect of the compression of the Unicode database -- a
> clear space/speed tradeoff.

umm.  the tests don't seem to test the "\N{name}" escapes, so the
only thing that has changed in 2.1 is the "decomposition" method
(used in the UnicodeProperties test).

are you sure you're comparing against 2.0 final?

Cheers /F