[Python-Dev] Pie-thon benchmark code ready (original) (raw)
Guido van Rossum guido at python.org
Thu Jan 1 11:49:20 EST 2004
- Previous message: [Python-Dev] Pie-thon benchmark code ready
- Next message: [Python-Dev] Specifying Python version when running piethon benchmark
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> The ordering is supposed to be an unimportant detail. The external > program solution won't work due to the nature of the benchmark. I'll > fix the benchmark some time next week. The fix should be fairly > simple and localized.
It was easier than I thought, so it's in place. Version 1.0.2 uses a subclass of dict whose repr sorts the keys. The running time doesn't seem to be substantially affected. (Oh how I love subclassing builtin classes!)
Make that 1.0.3. There were two relevant dict usages -- one for globals and one for locals. :-)
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Pie-thon benchmark code ready
- Next message: [Python-Dev] Specifying Python version when running piethon benchmark
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]