I haven’t seen a thread on this in a while. I have been going with top day for a while, but it can be hit or miss. Other sorts don’t seem to display as good in terms of balancing quality and quantity. What is your preferred sort for your main feed?
Edit: Realizing that the people who sort new commented before the hot/top/active people, haha
New.
I like to rawdog Lemmy.
Bubble sort. It’s the only one I really understand and know how to implement.
/s to be sure
I’m a masochist, so I usually do “New”. Lemmy is small enough that I can usually get through most of the new posts in a reasonable amount of time.
That said, if I want to a bit chiller experience, I will use “Scaled” which sometimes bubbles up something I might have missed.
Finally, I will use “Active” if I’m really bored and what to see what most people are engaged with… but that is pretty rare.
All, Top for the past 6 hours. Sometimes in the morning I’ll switch it to 12 hours to see what I missed overnight and other times the week just to make sure. But I don’t subscribe to anything, give me all the best of Lemmy
quick sort on random input, insertion sort on almost-sorted inputs
Honestly, sorting algos are serious nerd shit. They’re for suckers and losers. If it’s not worth doing, insertion sort every day of the week. Compute is cheap. If it’s actually important, then it’s TimSort (it’s never important).
In small datasets, the speed difference is minimal; but, once you get to large datasets with hundreds of thousands to millions of entries they do make quite a difference. For example, you’re a large bank with millions of clients, and you want to get a list of the people with the most money in an account. Depending on the sorting algorithm used, the processing time could range from seconds to days. That’s also only one operation, there’s so much other useful information that could be derived from a database like that using sorting.