Skip to main content

parallel_radixsort from C++ for Python (Windows)

pip install cppradixsort

Microsoft Visual C++ Redistributable is necessary

https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

from cppradixsort import parallel_radixsort



import numpy as np



a1 = np.random.randint(0, 2000000, 1000000)

a2 = parallel_radixsort(a1)



# a1

# Out[3]: array([ 173641, 1852805, 1959843, ..., 1094448,  430953, 1021449])

# a2

# Out[4]: array([      0,       0,      13, ..., 1999996, 1999996, 1999997])

# %timeit parallel_radixsort(a1)

# 4.96 ms ± 32.6 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

# %timeit np.sort(a1,kind='stable')

# 63.8 ms ± 72.9 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

Metadata

Release files for cppradixsort 0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cppradixsort 0.10
File Size Uploaded Provenance Actions
cppradixsort-0.10.tar.gz 216.0 kB Without provenance Details for cppradixsort-0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cppradixsort 0.10
File Interpreter ABI Platform Actions
cppradixsort-0.10-py3-none-any.whl Python 3 none any Details for cppradixsort-0.10-py3-none-any.whl

Total release size: 432.1 kB

Release files / cppradixsort-0.10.tar.gz

Download URL cppradixsort-0.10.tar.gz
Size 216.0 kB
Tags Source
SHA-256 checksum
How to use checksums
debde4137d9769fe8f2a9952d4a581df2f8bffd64b7d2ffade121403e5d9ae56
BLAKE2b-256 checksum
How to use checksums
5ff56f47d8fa3ddc0cb53b3eb281582dca99af16ac07203521895624dac45d4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / cppradixsort-0.10-py3-none-any.whl

Download URL cppradixsort-0.10-py3-none-any.whl
Size 216.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3591173f52708e457dd0981d9c5d317e4ece90709d573770e9e62e9199c0b87c
BLAKE2b-256 checksum
How to use checksums
6e0c1b596287fcbe06db2964d81673d5e3c09db7d466904ddbbc7ef85cd65b84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for cppradixsort 0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page