Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

An update-aware approach to incremental sorting (DeltaSort)

Details

External ID
46487374
Source
HN
Company
—
Product
incremental
Website domain
github.com
Launched
Jan. 4, 2026
Cohort
—
Upvotes
6
Upvotes percentile
0.2549407114624506
Tags
—
Fetched at
Sept. 7, 2026, 9:25 p.m.
Updated at
Sept. 7, 2026, 9:25 p.m.

Description

Paper (PDF): https://github.com/shudv/deltasort/blob/main/paper/main.pdfI’ve been exploring a variant of the sorting problem where the sort routine knows about which indices were updated since the previous sort.This situation arises in many practical systems: large sorted lists that are read frequently, updated in small batches, and where the update pipeline already knows which positions changed (e.g., UI lists, leaderboards). Despite this most systems either re-sort the entire array or apply independent binary insertions or perform extract-sort-merge.In the paper, I propose DeltaSort, an incremental repair algorithm for this update-aware model - which is able efficiently batch together multiple updates and avoid a full re-sort. Initial experiments with a Rust implementation show multi-fold speedups over repeated binary insertion and native sorting (sort_by) for update batch size up to 30%.I’m mainly looking for technical feedback from people who’ve worked on sorting, data structures, or systems: 1. Am I missing prior work that already addresses this model or technique? 2. Are the baselines and comparisons reasonable? Is there a better (stricter) baseline that we can use to compare DeltaSort? 3. How useful does this seem in real systems, outside of the benchmarks I have used?Thanks - and happy to discuss details!

Enrichment

Theme
low-level systems and developer tools
Vertical
Horizontal
Function
Dev tools
Audience
Developer
AI stance
Not AI
Project type
Hobby / open-source project
Normalized one-liner
incremental sorting algorithm
Manually corrected
False

Could you build this?

No DeltaSort introduces a novel algorithmic approach to incremental sorting with formal mathematical proofs and benchmarks documented in an academic paper.

What it would actually take: Building DeltaSort requires deep algorithmic and theoretical computer science research into permutation distances, inversion counts, and cache-aware algorithm design. Implementation involves developing custom sorting primitives in C/C++ or Rust that track delta indices and minimize comparisons/branch mispredictions, accompanied by formal complexity proofs.

Discussion

1 comment analyzed.

Competitors

Other products that read as similar to this one — 43 launches clear the similarity bar, closest 8 shown.

Attention rank: #33 of 44 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 58 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a dev tools tool for Sales yet.