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
Metadata
Release files for mergefast 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mergefast-1.1.3.tar.gz | 27.2 kB | Details |
Release files / mergefast-1.1.3.tar.gz
| Download URL | mergefast-1.1.3.tar.gz |
|---|---|
| Size | 27.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a0445f2b24dd8c1b64d2dca9af9ee4cd8f6faac12b1552a4a2f159a69695a63
|
|
BLAKE2b-256 checksum How to use checksums |
6997b87455eeed0814048af19d5508cbad785b992489958a184d04bbfb70fa36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.5 Darwin/22.6.0
|