Message128442
Updated the benchmarking code to include a 4th variant that accumulates sorted sublists during the partitioning phase.
Results from one run:
n: 100000 k: 100
[105856, 105917, 105951, 105977, 106366] nsmallest
[166465, 166478, 166507, 166639, 166748] heapifying_smallest
[253705, 260410, 264225, 289600, 333626] selecting_smallest
[111048, 117112, 144633, 168109, 402758] partitioning_smallest |
|
Date |
User |
Action |
Args |
2011-02-12 08:28:33 | rhettinger | set | recipients:
+ rhettinger, mark.dickinson, benjamin.peterson, newacct |
2011-02-12 08:28:33 | rhettinger | set | messageid: <1297499313.87.0.691296426577.issue11180@psf.upfronthosting.co.za> |
2011-02-12 08:28:33 | rhettinger | link | issue11180 messages |
2011-02-12 08:28:33 | rhettinger | create | |
|