Timsort sorting algorithm with custom minrun
Project description
CustomTimSort
CustomTimSort is a library where you can sort python objects using custom minruns. How to use:
from timsort import timsort, get_minrun
minrun = get_minrun(len(yours_object))
timsort(yours_object, minrun)
get_minrun(len_of_yours_object: int) -> int
Returns predicted minrun for given object's size
timsort(yours_object: some iterible obj, minrun: int) -> int
Sorts yours_object using given minrun
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for customtimsort-0.0.117-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3dec5d30b5885af3ed681926720c55d5100712533416324a9567798cac3d2db |
|
MD5 | 89066f8aa56ad0ec248fc9c40dc17e32 |
|
BLAKE2b-256 | 26d945c17c928c816ff6b1574dad50d11e6418f99482ee69f8b174af96da1de2 |