No project description provided
Project description
Py Merge
Merge sorted list faster than using list.sort
or heapq.merge
.
import mergefast
# create some sorted lists
a = list(range(-100, 1700))
b = list(range(1400, 1800))
# merge them
merged = mergefast.merge(a, b)
Also specialized variants for even faster merging of homogenus lists:
# Fast merge ints
mergefast.merge_int(a,b)
# Fast merge latin strings
mergefast.merge_latin(c,d)
# Fast merge floats
mergefast.merge_float(e,f)
See article
Building
To build the extension run earthly +build
. To Test run earthly +test
and to geneartor a performance graph run earthly +perf
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 Distribution
mergefast-1.1.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for mergefast-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef6b94cde159117c360f8842bc3c7ec39ab10390a663a4c80e9e6ee2b9745e62 |
|
MD5 | 07fb56f4da67d8dd78a47cfca6bb3b11 |
|
BLAKE2b-256 | aeb963c88d4ee6620e98df37a4720050168ea755474b9e5b84654b97b1860b37 |