LSD Radix Sort

  Рет қаралды 53,957

Musicombo

Musicombo

Күн бұрын

Visit our community Discord here: / discord
Check out the NEW home for ArrayV here: github.com/gam...
Check out the Mother 1+2 Restoration project: / discord
Thank you to Kalmar Republic and Segaking584 for supporting my videos!
Join this channel to get access to perks:
/ @musicombo

Пікірлер: 48
@Musicombo
@Musicombo 3 жыл бұрын
Visit our community Discord here: discord.com/invite/2xGkKC2 Check out the NEW home for ArrayV here: github.com/gaming32/ArrayV-v4.0
@nunthenihtara608
@nunthenihtara608 3 жыл бұрын
9:29 magic moment
@XaxtonRevolution2
@XaxtonRevolution2 2 жыл бұрын
I’ve noticed that the last two steps always look the same.
@hydrate6913
@hydrate6913 2 жыл бұрын
except bell curve array, perlin noise curve and perlin nise
@edwardclark6731
@edwardclark6731 2 жыл бұрын
@@hydrate6913 they do the same operation though
@Gamesmarts194
@Gamesmarts194 2 жыл бұрын
That’s how LSD Radix Sort works: Everything that has the same number in a specific placement (like 10s, 100s, etc.) gets put in the same spot and repeat for the next digit placement up until the whole thing is sorted. By the time it gets to the last digit placements those pretty much the rest of the placements have already been sorted.
@tigrankhachatryan6119
@tigrankhachatryan6119 Жыл бұрын
The last step also sounds like a microwave :P
@rodrigoqteixeira
@rodrigoqteixeira 2 ай бұрын
Who will tell him how radix sort works? Because it wont be me.
@nunthenihtara608
@nunthenihtara608 3 жыл бұрын
5:28 ? 👁️👄👁️
@official-obama
@official-obama Жыл бұрын
that's not specifically lsd sort base 4, and also i'm pretty sure lsd sort would sort an already sorted array
@chickenbobbobba
@chickenbobbobba 5 ай бұрын
if you wanted to have it sort this correctly, then youd have to add additional checks to put it in the correct base, partitions, and what number in each number it has to compare. this could potentially take more time on average than just sorting it regardless because theres so much to figure out
@nickcrow1003
@nickcrow1003 Жыл бұрын
always takes 12288 writes to both arrays as radix sort has a fixed run time for a given data set of O(N*B) where B is the base of the number such as 4 base in this example and N is the amount of data if I understand it correctly.
@tigrankhachatryan6119
@tigrankhachatryan6119 Жыл бұрын
10:53 sounds like "WOOOOW!"
@RedstoneNguyen
@RedstoneNguyen 3 жыл бұрын
Bro I want to ask why don't we just use the base as n?
@Musicombo
@Musicombo 3 жыл бұрын
You could, but then that basically becomes counting sort!
@RedstoneNguyen
@RedstoneNguyen 3 жыл бұрын
@@Musicombo Thanks for the information!
@Musicombo
@Musicombo 3 жыл бұрын
@@RedstoneNguyen Oh, I should qualify this: Radixsort base n is basically counting sort *assuming a linear distribution*.
@RedstoneNguyen
@RedstoneNguyen 3 жыл бұрын
@@Musicombo I don't quite understand, but that could be nice to be in the description :)
@arielshadow7667
@arielshadow7667 3 жыл бұрын
@@RedstoneNguyen generally radix LSD sort is kinda modified counting sort
@thevioletwild
@thevioletwild Жыл бұрын
Why does it always take 22 seconds?
@shirakawamaseru
@shirakawamaseru Жыл бұрын
Because the runtime is defined by the size of the array. It's always the same size so it always takes the same time. That's it's big advantage. The larger the array, the faster it is compared to other algorithms. If you have insanely large arrays, it takes a fraction of the time of any other sorting algorithm The smaller the array, the more is the advantage eaten away by its overhead. So fastest speed but largest overhead, so only worth using if the array is large enough
@thevioletwild
@thevioletwild Жыл бұрын
@@shirakawamaseru hmm I guess that makes sense
@mage3690
@mage3690 Жыл бұрын
I'm going to give a different answer: it always takes the same amount of time, because there are no comparisons. No comparisons means no decisions can be made about how things should be most efficiently done. Therefore, it can only be done one way: the slow way, the whole way, every time.
@GamemodePC
@GamemodePC Ай бұрын
@@mage3690 "im about to end this mans whole carrer" - equal sign
@Caterblock
@Caterblock 3 жыл бұрын
Cool
@elijahkalebabalde1527
@elijahkalebabalde1527 3 ай бұрын
Soundfront:LSD Acid
@Userqzyu0lslr2
@Userqzyu0lslr2 2 жыл бұрын
I can’t see those It burned my eyes. 3:14
@Userqzyu0lslr2
@Userqzyu0lslr2 2 жыл бұрын
And super burned my eyes too. 3:43
@Userqzyu0lslr2
@Userqzyu0lslr2 2 жыл бұрын
OH MY GOD IT BURNS MY EYES! 4:14
@Userqzyu0lslr2
@Userqzyu0lslr2 2 жыл бұрын
4:43 *dies*
@JakeKartaBAWER127-October
@JakeKartaBAWER127-October Жыл бұрын
@@Userqzyu0lslr2bruh
@SuperBee3
@SuperBee3 8 ай бұрын
😂😂😂​@@JakeKartaBAWER127-October
@pan.matvey_and_more_videos
@pan.matvey_and_more_videos 16 күн бұрын
Sort 8/25: sawtooth input/first radix pass
@rodrigoqteixeira
@rodrigoqteixeira 2 ай бұрын
Why is bro testing so many shapes? Radix sort is guaranted to perform the same (even if it is sorted lol)
@K1ngGr33n
@K1ngGr33n 2 ай бұрын
The testing program chooses the shapes automatically, regardless of the algorithm used
@TechSY730
@TechSY730 Ай бұрын
For the different sounds. Because, while the running time and actions executed are the same, they are being done against different numbers and patterns. Notice how the original shape of the input is replicated a few times during the process. Then the initial and final states sort of become the "wave form" of the sounds made during the sort.
@majman446
@majman446 6 ай бұрын
why did you claim a sorting algorithm video tho?
@JetFalcon710
@JetFalcon710 4 ай бұрын
???
@LVETOT
@LVETOT 3 жыл бұрын
Sort cooler!
@truongquangduylop33yyuh34
@truongquangduylop33yyuh34 Жыл бұрын
Do base-2
@NishimuraKensei
@NishimuraKensei 2 жыл бұрын
I’m Late Again In Live Chat,
@a-cd2lw
@a-cd2lw 3 ай бұрын
A
MSD Radix Sort
12:30
Musicombo
Рет қаралды 8 М.
Sorts - Sphere Agitation
7:47
w0rthy
Рет қаралды 612 М.
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 2,7 МЛН
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 19 МЛН
Mojang just made Ender Pearls absolutely OP!
8:14
Phoenix SC
Рет қаралды 1,3 МЛН
90 Sorts on Large Inputs - Scatter Plot
1:01:27
Musicombo
Рет қаралды 195 М.
Impractical sorting algorithms
1:05
BitonicDev
Рет қаралды 1,7 М.
Поразрядная сортировка (radix sort)
11:33
Every Sorting Algorithm (part 2): The Weird and Obscure
18:27
Kuvina Saydaki
Рет қаралды 34 М.
87 Minecraft Build Hacks That Require 0% Skill
30:56
Skip the Tutorial
Рет қаралды 142 М.
The Bubble Sort Curve
19:18
Lines That Connect
Рет қаралды 558 М.
Visualization of Radix sort
7:02
udiprod
Рет қаралды 56 М.
In-Place LSD Radix Sort
13:11
Musicombo
Рет қаралды 128 М.