Bubble sort in pure CSS
dev.to
Bubble sort in pure CSS
1–10 of 73 posts
Re: Bubble sort in pure CSS
#2I stopped reading there.
Let us know when the second part is out. Why write half an article?
Re: Bubble sort in pure CSS
#3> Editor’s Note: This article ends on a cliffhanger. The next part goes out in a week I stopped reading there. Let us know when the second part is out. Why write half an article?
I learned from the article and found the subject interesting, but the breathlessly excited tone and forced cuteness were offputting.
Re: Bubble sort in pure CSS
#4Re: Bubble sort in pure CSS
#5There is a reason why conjunction (AND) is also called logical multiplication, and disjunction (OR) logical addition. There is not much difference between this and:
(oneIsGreater ? origArray[0] : 0) | (twoIsGreater ? origArray[1] : 0)
This is often useful to think about when working on bitset or SIMD algorithms.Re: Bubble sort in pure CSS
#6It seems to only work for a fixed size. Wouldn’t that be called a sorting network?
It is actually pretty good - the code uses 10 comparisons, while the optimal sorting network for 5 elements uses 9: https://bertdobbelaere.github.io/sorting_networks.html#N5L9D...
Re: Bubble sort in pure CSS
#7Re: Bubble sort in pure CSS
#8Re: Bubble sort in pure CSS
#9> Editor’s Note: This article ends on a cliffhanger. The next part goes out in a week I stopped reading there. Let us know when the second part is out. Why write half an article?
Where does that text appear in the article? I learned from the article and found the subject interesting, but the breathlessly excited tone and forced cuteness were offputting.
Re: Bubble sort in pure CSS
#10> Editor’s Note: This article ends on a cliffhanger. The next part goes out in a week I stopped reading there. Let us know when the second part is out. Why write half an article?
Where does that text appear in the article? I learned from the article and found the subject interesting, but the breathlessly excited tone and forced cuteness were offputting.