orlp/glidesort
A Rust implementation of Glidesort, my stable adaptive quicksort/mergesort hybrid sorting algorithm. observed · 2026-08-28
Health v2 · maintenance only
31/100
- Activity 0
- Release rhythm 35
- Longevity 93
Flags: no_releases no_license
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: n/a
- age_days: 1307
- days_rel: n/a
- days_push: 1303
- n_releases_24m: 0
Adoption not part of the score
1656 stars · 25 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Glidesort is a Rust library implementing a novel stable adaptive sorting algorithm that hybridizes Timsort-style merge sorting with pattern-defeating quicksort. It achieves O(n) best-case time on pre-sorted data and excels on inputs with many duplicates while remaining fast on random data.
Use cases
- sort large arrays faster than the standard library sort
- sort data with many duplicate keys efficiently
- sort nearly-sorted data in linear time
- drop-in replacement for Vec::sort in Rust
- sort with a custom auxiliary memory buffer
- reuse allocation across repeated sorts of a Vec
When to choose
- you need a stable sort with excellent performance on patterned or duplicate-heavy data
- you want a fast drop-in replacement for Rust's built-in sort
- you need control over auxiliary memory usage during sorting
When to avoid
- you only need the standard library's sort and don't care about edge-case performance
- you cannot tolerate any auxiliary memory allocation and have extremely skewed data
- you need a license other than the implicit default (no explicit license is provided)
Facets
library · maturity stable
math developer-tools rust sorting stable-sort quicksort mergesort adaptive-algorithm comparison-sort algorithms
2 sources
- readme: https://github.com/orlp/glidesort · fetched 2026-08-28 · 14ec13ee4c3c
- registry_crates: https://crates.io/api/v1/crates/glidesort · fetched 2026-08-29 · 1c26ecce3f3d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| orlp/glidesort | main | 31 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem