numpy/x86-simd-sort
C++ template library for high performance SIMD based sorting algorithms observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 89
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 196
- age_days: 1414
- days_rel: 471
- days_push: 69
- n_releases_24m: 2
Adoption not part of the score
1026 stars · 73 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A C++ template library providing high-performance SIMD-accelerated sorting routines (qsort, qselect, partial sort, argsort, key-value sort) for built-in integer and float types and custom objects. It automatically selects AVX-512 or AVX-2 code paths based on the runtime processor and is used by NumPy.
Use cases
- sort large arrays of floats or integers faster than std::sort
- SIMD-accelerated quickselect to find kth smallest element
- partial sort of top-k elements in an array
- argsort / index-based sorting of arrays
- sort arrays of custom C++ objects by a key
- key-value sorting of parallel arrays
- speed up NumPy sort operations on x86 CPUs
When to choose
- you need maximum sorting throughput on x86-64 hardware with AVX2/AVX-512
- you are sorting numeric data (16/32/64-bit ints and floats) at scale
- you need quickselect or partial sorts, not just full sorts
- you want drop-in routines used by NumPy
When to avoid
- you need portable sorting across non-x86 architectures (ARM, POWER)
- you are sorting complex objects with expensive comparators rather than numeric keys
- your arrays are tiny where SIMD overhead dominates
- you need stable sorting
Facets
library · maturity active
benchmarking developer-tools performance developer-tools cpp windows simd avx2 avx512 sorting quicksort argsort quickselect x86 header-only numpy algorithms linux macos gpu
1 source
- readme: https://github.com/numpy/x86-simd-sort · fetched 2026-08-28 · d9718da8dbd6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| numpy/x86-simd-sort | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="numpy/x86-simd-sort")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem