Djbsort: A new software library for sorting arrays of integers
sorting.cr.yp.to
Djbsort: A new software library for sorting arrays of integers
1–10 of 158 posts
Re: Djbsort: A new software library for sorting arrays of integers
#2Re: Djbsort: A new software library for sorting arrays of integers
#3Re: Djbsort: A new software library for sorting arrays of integers
#4The 2.5 cycles/byte compared to the 32 cycles/byte that Intel managed pulled off seems like an improbably large improvement over the current state of the art? Is this real?
Re: Djbsort: A new software library for sorting arrays of integers
#5Re: Djbsort: A new software library for sorting arrays of integers
#6The 2.5 cycles/byte compared to the 32 cycles/byte that Intel managed pulled off seems like an improbably large improvement over the current state of the art? Is this real?
Re: Djbsort: A new software library for sorting arrays of integers
#7On a say 3.6 Ghz processor that would be around 17ms. So the number of elements sorted per second would be around 61.4 M elements/s.
My parallel radix sort can sort floats (a little harder than integers) at around 165 M elements/s: http://forwardscattering.org/post/34
A serial radix sort should still be similar or faster to djbsort.
Re: Djbsort: A new software library for sorting arrays of integers
#8That's pretty cool, are there any bindings for e.g. Go out there?
Re: Djbsort: A new software library for sorting arrays of integers
#9The 2.5 cycles/byte compared to the 32 cycles/byte that Intel managed pulled off seems like an improbably large improvement over the current state of the art? Is this real?
size cycles/byte (based on median)
1 6.0
2 3.375
4 11.625
8 9.625
16 7.984375
32 7.515625
64 6.0390625
128 4.31640625
256 2.4873046875
512 2.29443359375
1024 2.5048828125
2048 2.77893066406
4096 3.0791015625
8192 3.89566040039
16384 5.23690795898
32768 6.35472106934
65536 7.55914306641
131072 9.23189163208
262144 10.789557457
524288 12.4885950089
1048576 14.6550707817
[0] https://sorting.cr.yp.to/speed.htmlRe: Djbsort: A new software library for sorting arrays of integers
#10That's pretty cool, are there any bindings for e.g. Go out there?
Unrelated to the article I recently learned Go just as a side-interest. I was appalled by how terrible the language is. Usually, language warts aren't apparent until you use it a bit but here annoyances were present on day 1 and never went away.