Premium Only Content
Hash Sort
A very quick and simple sorting algorithm. Public domain. Could also called as Leaf Sort, because it split-sorts into equal width bins. If the count of the bins is very large compared to the count of the unsorted values, each unsorted value will have its own bin, the algorithm will run in one pass O(n), and extra storage required O(n), for example 4x used storage space. If Bin count is 2, it is like a binary search sort, but does not need sorted data and will sort the data values at same time. The Hash (Leaf) Sort algorithm is simply blindly multi-thread-able. Could also be called Linear Sort or Function Sort, because of the linear function the default implementation uses, to classify values to buckets. If your particular application has different distribution of the data values, than uniform linear distribution, like gaussian distribution, or logarithmic, then that can be implemented in the hash function. The hash function attempts to fill the buckets with equal amounts, making the sorting problem split exactly in the bin count sub-problems that are exactly bin count section of the original problem. For example a sort of 1000 items to bins of 10, makes it 10x 100 item sort problem, then 100x 10 item problem, and finally 1000x 1 item problem, the unsorted array becomes sorted. The most fastest but also most memory using setup will go directly to the 1000x 1 item sort problem. The bin data structure should a linked list, for O(1) item addition and O(n) of any order all items query, or a pre-allocated array at some expected item amount, like 1/10 of n in each bin, like a vector. Extension to the quick sort, multiple pivots, in bins. Logarithmic sub-problem complexity of O(n). Also for hash search and hash insert, O(1), as a data structure.
-
0:12
Jkauppafi
1 month agoCompute Core FPGA Network
7 -
LIVE
The Mel K Show
54 minutes agoMORNINGS WITH MEL K - Peak Manufactured Hysteria as Epstein Boomerang Returns - 11-13-25
297 watching -
UPCOMING
The Shannon Joy Show
1 hour agoEpstein Emails Released - Trump Implicated! Susie Wiles & Stefanie Spear - The Women Controlling Trump & RFK * The Psychology Behind The Psyop - Live Exclusive W/ Dr. Joe Sansone!
112 -
UPCOMING
Grant Stinchfield
25 minutes agoThe Deputy Who Stood Up and Got Taken Down... Only Gov. DeSantis Can Help This Hero Now!
-
1:03:48
VINCE
3 hours agoDems' Shutdown Is Gone. Now They've Revived Epstein | Episode 168 - 11/13/25 VINCE
163K72 -
Badlands Media
10 hours agoBadlands Daily: November 13, 2025
22.8K10 -
48:32
Simply Bitcoin
19 hours ago $0.96 earnedThe Bitcoin Crucible w/ Alex Stanczyk & Tomer Strolight - Episode 8
5.81K1 -
LIVE
LadyDesireeMusic
2 hours ago $0.60 earnedLive Piano Renditions & Chat - Good Vibes - Make Ladies Great Again
87 watching -
The Big Mig™
3 hours agoSchumer’s Government Shutdown Is Over! Hallelujah
4.18K10 -
1:34:32
Graham Allen
4 hours agoDems “Bombshell” Epstein Docs Against Trump Are LIES!! + The Gov Shutdown Is Finally OVER!
122K1.05K