Message75226
I am sorry for not doing my research about the age of the compatibility
fix.
However, modifying the test slightly to work with tuples of
(random.random(), random.random())
shows a performance increase from:
heapify 0.366187741738
pushpop 0.541365033824
replace 2.69348946584
push and pop 3.12545093022
to:
heapify 0.186918030085
pushpop 0.405662172148
replace 1.46039447751
push and pop 1.75253663524
This does look like a large price to pay for this compatibility layer. |
|
Date |
User |
Action |
Args |
2008-10-26 13:49:29 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, rhettinger |
2008-10-26 13:49:29 | kristjan.jonsson | set | messageid: <1225028969.38.0.902315534545.issue4207@psf.upfronthosting.co.za> |
2008-10-26 13:49:27 | kristjan.jonsson | link | issue4207 messages |
2008-10-26 13:49:26 | kristjan.jonsson | create | |
|