piposort

Piposort is a small branchless stable adaptive mergesort. (by scandum)

Piposort Alternatives

Similar projects and alternatives to piposort

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better piposort alternative or higher similarity.

piposort reviews and mentions

Posts with mentions or reviews of piposort. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-12.
  • Understanding DeepMind's Sorting Algorithm
    7 projects | news.ycombinator.com | 12 Jun 2023
    Hang on, you can't just quote MB/s numbers for an O(n log(n)) sort. What length were these tests run at?

    The code size might not end up quite as good, but a branchless merge sort is a contender for a fast and lightweight merge. Just published, tiny-sort-rs[0] cites 632 bytes and looks like ~350MB/s at 1e4 elements on Zen 3. In my tests, my own pisort[1] benches a little over twice as fast as LongSort, but it uses sorting networks as the base case so it's like 5KB. It's roughly based on piposort[2] which has more complicated recursion but a simpler base case.

    400 MB/s seems a bit slow for a radix sort on that hardware: I'm hitting those numbers on my i5-6200U, which has less than half the clock rate, with my own radix sort. Recommend checking ska_sort_copy from [3] as it has about the same performance.

    [0] https://github.com/Voultapher/tiny-sort-rs

    [1] https://github.com/mlochbaum/SingeliSort/blob/master/src/mer...

    [2] https://github.com/scandum/piposort

    [3] https://github.com/skarupke/ska_sort

  • Show HN: QuadSort, Esoteric Fast Sort
    4 projects | news.ycombinator.com | 28 Jan 2023
    Quadsort's author here.

    This is the first time I've heard quadsort being called esoteric. It isn't much more complex than Timsort. It is however challenging to port ~1000 lines of code that can be tedious to debug. If you make one simple error/typo you could be stuck for hours in debugging hell.

    Hence I recently published piposort, which is ~150 lines and pretty basic, while still offering excellent performance. Not as good as quadsort, but it could make for a stepping stone in a porting effort.

    https://github.com/scandum/piposort

Stats

Basic piposort repo stats
2
8
10.0
over 1 year ago

scandum/piposort is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of piposort is C.


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