Radix sorting (no qsort) for floating point numbers

Open
#171 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
performance

Research direction

The issue contains no file, test, or entry point, and only proposes radix sorting for floating-point values as an alternative to qsort. First review the existing sorting implementation and benchmark coverage, then determine whether a concrete integration proposal and performance comparison can be defined as done.

Written by the indexing model from the issue text.

Description

I have implemented radix sorting for floating point numbers (float and double) which is O(N) instead of O(N*log(N)) (qsort).

Are you interested? It is faster than qsort with large values of N. (last time I tested, N was something like 10^6 if I remember correctly)

Dominant language
C++
Stars
1k
Forks
79
Avg merge
2d 2h
Merged PRs (30d)
5

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from numpy/x86-simd-sort

All issues in numpy/x86-simd-sort

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.