Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →
Top 6 C Sort Projects
-
C
Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.
-
Project mention: So what's the best data structures and algorithms library for C? | /r/C_Programming | 2023-03-15
It could be that the cost of the function calls, either directly or via a pointer, is drowned out by the cost of the one or more cache misses inevitably invoked with every hash table lookup. But I don't want to say too much before I've finished my benchmarking project and published the results. So let me just caution against laser-focusing on whether the comparator and hash function are/can be inlined. For example stb_ds uses a hardcoded hash function that presumably gets inlined, but in my benchmarking (again, I'll publish it here in coming weeks) shows it to be generally a poor performer (in comparison to not just CC, the current version of which doesn't necessarily inline those functions, but also STC, khash, and the C++ Robin Hood hash tables I tested).
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
In the code it looks like the seed to the benchmark can be provided as the 4th command line argument: https://github.com/scandum/quadsort/blob/master/src/bench.c#...
-
Project mention: Blitsort: An ultra-fast in-place stable hybrid merge/quick sort | news.ycombinator.com | 2022-11-30
Blitsort is a hybrid quicksort, see title.
It is slower than it's unstable brother, aptly named crumsort. https://github.com/scandum/crumsort
-
Project mention: Fluxsort: A stable quicksort, now faster than Timsort for both random and ordered data | /r/programming | 2023-02-04
-
Project mention: I can’t believe that I can prove that it can sort | news.ycombinator.com | 2022-07-04
C Sort related posts
- Fluxsort: A stable quicksort, now faster than Timsort for both random and ordered data
- Show HN: QuadSort, Esoteric Fast Sort
- Show HN: QuadSort, Esoteric Fast Sort
- When does big-oh notation become not helpful when comparing algorithms?
- I can’t believe that I can prove that it can sort
- Robin Hood Sort: the algorithm for uniform data
- quadsort 1.1.5.1: Up to 2.5x faster than qsort() on random data
-
A note from our sponsor - SonarLint
www.sonarlint.org | 3 Jun 2023
Index
What are some of the best open-source Sort projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | C | 16,297 |
2 | Klib | 3,795 |
3 | quadsort | 2,024 |
4 | crumsort | 298 |
5 | rhsort | 53 |
6 | combsort.h | 0 |