sorting-network Questions
12
I'm solving a problem and it involves sorting 10 numbers (int32) very quickly. My application needs to sort 10 numbers millions of times as fast as possible. I'm sampling a data set of billions of ...
Lombardy asked 23/8, 2015 at 22:23
3
Solved
I'm looking for a sorting network implementation of a 5-element sort, but since I couldn't find a good reference on SO, I'd like to ask for sorting networks for all small values of n, at least n=3 ...
Headforemost asked 11/10, 2010 at 1:56
1
Solved
I am looking into sorting and median-selection networks for nine elements based exclusively on two-input minimum / maximum operations. Knuth, TAOCP Vol. 3, 2nd ed. states (page 226) that a nine-ele...
Windswept asked 2/8, 2017 at 6:54
3
Solved
I was searching for non-recursive odd-even-merge sort algorithm and found 2 sources:
a book from Sedgewick R.
this SO question
Both algorithms are identical but false. The resulting sorting net...
Kimberliekimberlin asked 22/12, 2015 at 23:42
4
I have some performance critical code that involves sorting a very short fixed-length array with between around 3 and 10 elements in C++ (the parameter changes at compile time).
It occurred to me ...
Vinnie asked 5/11, 2013 at 13:48
1
Solved
These days, I have been trying to implement sorting networks up to size 32 with a minimal number of compare-exchange units (optimal in size, not in depth). As of now, I have been able to use the fo...
Cephalization asked 24/10, 2015 at 16:20
2
If we have a vector of size N that was previously sorted, and replace up to M elements with arbitrary values (where M is much smaller than N), is there an easy way to re-sort them at lower cost (i....
Linehan asked 15/9, 2014 at 19:31
6
Solved
In reference to fastest sort of fixed length 6 int array, I do not fully understand how this sorting network beats an algorithm like insertion sort.
Form that question, here is a comparison of the...
Majormajordomo asked 10/10, 2010 at 16:17
25
Solved
Answering to another Stack Overflow question (this one) I stumbled upon an interesting sub-problem. What is the fastest way to sort an array of 6 integers?
As the question is very low level:
we ...
Finegrain asked 7/5, 2010 at 7:24
6
Solved
This is the problem I ran into long time ago.
I thought I may ask your for your ideas.
assume I have very small list of numbers (integers), 4 or 8 elements, that need to be sorted, fast.
what would...
Ebullience asked 1/5, 2010 at 3:13
1
© 2022 - 2024 — McMap. All rights reserved.