This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients brandtbucher, corona10, kj, tim.peters
Date 2021-08-30.00:33:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630283596.12.0.376863564575.issue45045@roundup.psfhosted.org>
In-reply-to
Content
And another runstack.py adds `shivers4()`, which reworks `shivers3()` (length-adaptive ShiversSort) so that division, log2(), and floor() aren't used anymore. It does need a loop, though, which needs to go around a number of times `k` such that k is the smallest integer for which

2**k * max(run_length_1, run_length_2, run_length3) >=
1 + len(original_list)
History
Date User Action Args
2021-08-30 00:33:43tim.petersunlinkissue45045 messages
2021-08-30 00:33:16tim.peterssetrecipients: + tim.peters, corona10, brandtbucher, kj
2021-08-30 00:33:16tim.peterssetmessageid: <1630283596.12.0.376863564575.issue45045@roundup.psfhosted.org>
2021-08-30 00:33:16tim.peterslinkissue45045 messages
2021-08-30 00:33:16tim.peterscreate