Skip to main content

x86-simd-sort (Intel AVX-512) native extension for Quill

Project description

quill-fastsort-simd

Intel x86-simd-sort (AVX-512 / AVX2) native extension for QuillSort.

Wraps the same AVX-512 sort kernel that modern NumPy uses internally, exposed directly via pybind11 to skip np.sort dispatch overhead (~1-2 ms saved per call at 1M-10M element sizes) so QuillSort's self-tuning DB can measure it independently from the np.sort fallback.

Public Python API

In-place sort, GIL released:

  • sort_i64(arr), sort_u64(arr)
  • sort_i32(arr), sort_u32(arr)
  • sort_f64(arr), sort_f32(arr)

Runtime CPU detection (CPUID) picks AVX-512 when available and falls back to the AVX2 path otherwise.

Build

export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1
python -m pip wheel . -w dist --no-deps --no-build-isolation

Vendored

src/x86-simd-sort/ — upstream https://github.com/intel/x86-simd-sort (commit fa944ef, 2026-06-25).

Project details


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

If you're not sure about the file name format, learn more about wheel file names.

quill_fastsort_simd-0.1.0-cp314-cp314-win_amd64.whl (632.7 kB view details)

Uploaded CPython 3.14Windows x86-64

File details

Details for the file quill_fastsort_simd-0.1.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for quill_fastsort_simd-0.1.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 0d8378bf15731039c72d34b51d6157480ba36dfb85a2703cad01e5a7fb551858
MD5 06ddbcf2ebd8e22982db4801f1d98f1d
BLAKE2b-256 f49971c619c7494f0cd160f1acf00b0ebb627a0734a4f3dc0b265261fde63876

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page