C Sorting

Open-source C projects categorized as Sorting

Top 7 C Sorting Projects

  • quadsort

    Quadsort is a branchless stable adaptive mergesort faster than quicksort.

  • Project mention: 10~17x faster than what? A performance analysis of Intel x86-SIMD-sort (AVX-512) | news.ycombinator.com | 2023-06-10

    https://github.com/scandum/quadsort/blob/f171a0b26cf6bd6f6dc...

    As you can see, quadsort 1.1.4.1 used 2 instead of 4 writes in the bi-directional parity merges. This was in June 2021, and would have compiled as branchless with clang, but as branched with gcc.

    When I added a compile time check to use ternary operations for clang I was not adapting your work. I was well aware that clang compiled ternary operations as branchless, but I wasn't aware that rust did as well. I added the compile time check to use ternary operations for a fair performance comparison against glidesort.

    https://raw.githubusercontent.com/scandum/fluxsort/main/imag...

    As for ipnsort's small sort, it is very similar to quadsort's small sort, which uses stable sorting networks, instead of unstable sorting networks. From my perspective it's not exactly novel. I didn't go for unstable sorting networks in crumsort to increase code reuse, and to not reduce adaptivity.

  • blitsort

    Blitsort is an in-place stable adaptive rotate mergesort / quicksort.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • fluxsort

    A fast branchless stable quicksort / mergesort hybrid that is highly adaptive.

  • Project mention: Fluxsort: A stable quicksort, now faster than Timsort for both random and ordered data | /r/dataengineering | 2023-07-11
  • crumsort

    A branchless unstable quicksort / mergesort that is highly adaptive.

  • rhsort

    Robin Hood Sort, for uniform data

  • Project mention: Need a Quick Favor: Help a Student with a Simple Click! | /r/github | 2023-11-19

    I’m in the midst of a class project that requires a GitHub repository with over 100 stars. It’s one of the key criteria I need to meet, and I’m almost there. The repo I’ve been contributing to is https://github.com/mlochbaum/rhsort , which aligns perfectly with my project's needs—except it’s a bit short on stars.

  • combsort.h

    optimized combsort macro

  • sort-test

    A simple sort benchmarking tool

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C Sorting related posts

Index

What are some of the best open-source Sorting projects in C? This list will help you:

Project Stars
1 quadsort 2,106
2 blitsort 700
3 fluxsort 661
4 crumsort 314
5 rhsort 69
6 combsort.h 0
7 sort-test 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com