favourite sorting algorithm
#1
Posted 2010-June-16, 10:22
Bubble sort is also quite attractive.
This is a serious thread, by the way, and a popular meme.
bed
#4
Posted 2010-June-16, 10:38
bed
#5
Posted 2010-June-16, 11:22
the Freman, Chani from the move "Dune"
"I learned long ago, never to wrestle with a pig. You get dirty, and besides, the pig likes it."
George Bernard Shaw
#6
Posted 2010-June-16, 11:24
I notice that bridge players that use insertion sort to sort their hand do so incredibly slowly (usually this involves leaving all the cards face down and then picking them up one at a time). Then again, I don't know anyone that actually uses bubble sort or the like.
For sorting my bridge hand, I use some kind of greedy heuristic thing. I just make random moves that look like they'll result in a more sorted hand until it looks "good enough".
#7
Posted 2010-June-16, 11:31
BTW nice British spelling dude.
George Carlin
#8
Posted 2010-June-16, 11:45
bed
#9
Posted 2010-June-16, 12:17
Do not underestimate the power of the dark side. Or the ninth trumph.
Best Regards Ole Berg
_____________________________________
We should always assume 2/1 unless otherwise stated, because:
- If the original poster didn't bother to state his system, that means that he thinks it's obvious what he's playing. The only people who think this are 2/1 players.
Gnasher
#10
Posted 2010-June-16, 14:09
wich is the worse sorting method, but simplst to programme normally and I don't care much about performance.
#12
Posted 2010-June-16, 15:42
kenberg, on Jun 16 2010, 03:16 PM, said:
socks in the top drawer, underwear in the next lower one... btw i fold my tee shirts like they do in that youtube thingy
#14
Posted 2010-June-16, 20:43
#15
Posted 2010-June-16, 22:22
#16
Posted 2010-June-16, 23:20
I've never really noticed anything how I sort my hand, other than I do it differently than most other people. Seems I can do it in 3-5 movements usually.
Winner - BBO Challenge bracket #6 - February, 2017.
#17
Posted 2010-June-17, 03:21
#18
Posted 2010-June-19, 22:53
y66, on Jun 17 2010, 12:22 AM, said:
I used to use SortedSet all the time, but stopped when I noticed a significant performance difference between this and non-sorted classes when dealing with large numbers of records. Now I try to avoid sorting when it's not necessary.

Help
