LSD Radix Sort with High Bases

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024

ความคิดเห็น • 93

  • @SirPickles777
    @SirPickles777 2 ปีที่แล้ว +48

    1:38 that's beautiful

  • @nguyenthai3140
    @nguyenthai3140 8 หลายเดือนก่อน +23

    The reason base 16384 is so fast is because if the base = length then it's just Counting Sort

    • @RooiGevaar19
      @RooiGevaar19 4 หลายเดือนก่อน +1

      99% agree, but the final step of Counting Sort does not really work the same way as this LSD has worked here. CS would just overwrite all content without that lag and high-pitched sounds.

    • @FarzanaFathima-t4e
      @FarzanaFathima-t4e 3 หลายเดือนก่อน

      No, Pigeonhole sort!

    • @GamemodePC
      @GamemodePC 3 หลายเดือนก่อน +1

      small correction: not base = length it is base = max number in the list

    • @ErroredPerson
      @ErroredPerson 3 หลายเดือนก่อน

      *Pigeonhole sort

  • @ME0WMERE
    @ME0WMERE 2 ปีที่แล้ว +92

    Base 16384 is just
    Step 1: scan the array twice
    Step 2: lag
    Step 3: done

    • @Sasparilla_
      @Sasparilla_ 2 ปีที่แล้ว +6

      well, there were only 16384 numbers to sort

    • @Tasarran
      @Tasarran 2 ปีที่แล้ว +7

      Doing a RADIX sort to the same base as there are elements just becomes a counting sort, which works just like that.

    • @ChiNguyen-tw7sj
      @ChiNguyen-tw7sj 8 หลายเดือนก่อน +1

      1 2:54 2:55

    • @ChiNguyen-tw7sj
      @ChiNguyen-tw7sj 8 หลายเดือนก่อน

      OK 👌👍👍👍👍👍👍👍👌👍👌👍👌👍8

  • @kennymishatylergamingeeee5183
    @kennymishatylergamingeeee5183 6 หลายเดือนก่อน +5

    Base 128:
    1. Scan the shuffled sort twice
    2. Eerie music
    3. Scan the shuffled sort again
    4. Sort
    Base 256:
    1. Scan the shuffles sort twice
    2. Old glitchy retro music
    3. Scan it again
    4. Sort
    Base 512
    1. Scan the shuffled sort twice
    2. Add some cool retro music
    3. Scan it again
    4. Laggy sort
    Base 1024
    1. Scan it twice
    2. Add some more cool retro music
    3. Scan again
    4. Laggy sort
    Base 2048
    1. Scan twice
    2. Some not so cool retro music
    3. Scan the somewhat shuffled sort again
    4. Very laggy sort
    Base 4096
    1. Scan twice
    2. Lag
    3. Scan again
    4. Lag
    Base 8192
    1. Scan twice
    2. Lag
    3. Scan again
    4. Lag
    Base 16384
    1. Scan twice
    2. Lag

  • @kencarp57
    @kencarp57 2 ปีที่แล้ว +17

    Base 512 sounds like the Carnival Organ in HELL! 😈

  • @gdplayer1035
    @gdplayer1035 2 ปีที่แล้ว +44

    1:09 where do i download the midi file

  • @westinghouse14
    @westinghouse14 ปีที่แล้ว +10

    Base 16384 be like:
    Step 1: scan with blue pointer
    Step 2: scan slower with red pointer
    Step 3: drop the delay down to 3744ms
    Step 4: lag
    Step 5: pierce everyone’s eardrums
    Step 6: profit

  • @trilceliamartinezmotta4573
    @trilceliamartinezmotta4573 2 ปีที่แล้ว +12

    3:05 sorting.exe phase 3

  • @MatthewYT2311
    @MatthewYT2311 2 ปีที่แล้ว +21

    0:12 looks like i hear the drums

  • @weirdsciencetv4999
    @weirdsciencetv4999 2 ปีที่แล้ว +21

    Did you add synth drums and a whistle? Interesting touch.

    • @TrueMarble64
      @TrueMarble64 2 ปีที่แล้ว +5

      maybe the software uses midi : \

    • @weirdsciencetv4999
      @weirdsciencetv4999 2 ปีที่แล้ว +4

      @@TrueMarble64 I kinda like it.
      I love the sound of computation, just fascinated me even as a kid. I’m still wondering how they came up with the computer sound effects in the 6 million dollar man. They got recycled throughout film history. Maybe it was tapping into a serial console? Or the databus?
      Anyhow, I first got into it when I put a radio next to my commodore 64. Could totally hear different sounds and patters as the program ran, each part of the game had a pretty specific sound to it.

    • @OneDotLeader
      @OneDotLeader 2 ปีที่แล้ว +4

      i thought i was the only one who heard the whistle bc nobody else seemed to be talking abt it :D

    • @kargaroc386
      @kargaroc386 8 หลายเดือนก่อน

      yeah I'm pretty sure this is cheated.

  • @OneDotLeader
    @OneDotLeader 2 ปีที่แล้ว +12

    i swear you snuck some cymbal sounds in there

  • @westinghouse14
    @westinghouse14 ปีที่แล้ว +8

    Base 16384 (00:03:24) is trying to open a second chrome tab on a school computer

    • @fletchqc9900
      @fletchqc9900 11 หลายเดือนก่อน

      POV: My wii right after I catch a rare fish in city folk:

  • @pan.matvey_and_more_videos
    @pan.matvey_and_more_videos ปีที่แล้ว +6

    0:11 base 128😂

  • @aiaioioi
    @aiaioioi 2 ปีที่แล้ว +9

    damn that's some nice music

  • @heyitzrare
    @heyitzrare 2 ปีที่แล้ว +19

    so if the base = the item count, it's just a loud/slow Counting Sort

    • @Tasarran
      @Tasarran 2 ปีที่แล้ว +5

      Exactly. Radix is basically a parallelization of the counting sort.

    • @heyitzrare
      @heyitzrare 2 ปีที่แล้ว +1

      @@Tasarran Beautiful!

    • @Tasarran
      @Tasarran 2 ปีที่แล้ว +3

      @@heyitzrare The thing I really love about it is that it never does a single compare or swap. Beautiful, indeed!

  • @mariasuazo3320
    @mariasuazo3320 7 หลายเดือนก่อน

    Base 512:
    1. Slow fast music
    2. Quiet tap music
    3. Gets to radix pass

  • @trilceliamartinezmotta4573
    @trilceliamartinezmotta4573 2 ปีที่แล้ว +3

    In 3:35 hace an error sorting

  • @NewFall
    @NewFall 3 หลายเดือนก่อน

    1:08 damn

  • @ErroredPerson
    @ErroredPerson 3 หลายเดือนก่อน

    How to base 16384:
    Step 1: Inspect the list with a stick (2 times)
    Step 2: *Wii crash noise*
    Step 3: Run pigeonhole sort

  • @uselessguy1
    @uselessguy1 ปีที่แล้ว

    very funky sorting going on

  • @_Typel_
    @_Typel_ 2 ปีที่แล้ว +1

    Im going to have really weird dreams...

  • @pan.matvey_and_more_videos
    @pan.matvey_and_more_videos ปีที่แล้ว +2

    1:09

  • @untecito
    @untecito 3 หลายเดือนก่อน

    the last one is very funny

  • @pan.matvey_and_more_videos
    @pan.matvey_and_more_videos ปีที่แล้ว +1

    1:38 base 1,024😅

  • @yeetdabeans3883
    @yeetdabeans3883 2 ปีที่แล้ว +8

    bases after 2048 be like: S0Rt1N9.EXE

  • @GabrielsEpicLifeofGoals
    @GabrielsEpicLifeofGoals 2 ปีที่แล้ว

    I want jazz!

  • @ErenAndrews
    @ErenAndrews 29 วันที่ผ่านมา

    0:44 0:46

  • @pan.matvey_and_more_videos
    @pan.matvey_and_more_videos ปีที่แล้ว

    Base 512 *not to lag done d!*

  • @daffa_fm4583
    @daffa_fm4583 2 ปีที่แล้ว

    do other scrambles

  • @not_estains
    @not_estains ปีที่แล้ว +2

    Base 16384:
    Scan twice
    *eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee*
    done

  • @TheOne_6
    @TheOne_6 10 หลายเดือนก่อน +20

    base 512: how to do
    1. scan list twice
    2. cool music
    3. scan list once
    4. magic

  • @nebulamachine
    @nebulamachine 2 ปีที่แล้ว +61

    I never know sorting algorithms can sound this melodious

  • @timebmber
    @timebmber 2 ปีที่แล้ว +40

    2:07 sorting.exe phase 1
    2:38 sorting.exe phase 2

    • @lamedavid6145
      @lamedavid6145 ปีที่แล้ว +2

      I never thought a sorting algorithm could be so unsettling

    • @serg_sel7526
      @serg_sel7526 8 หลายเดือนก่อน +1

      3:34 sorting.exe has stopped working.

  • @featherfractal212
    @featherfractal212 2 ปีที่แล้ว +11

    2:07 Sort.exe

  • @nguyenthai3140
    @nguyenthai3140 9 หลายเดือนก่อน +3

    base 256:
    step 1: getting data
    step 2: piano and drums sound
    step 3: scan again
    step 4: shoot
    step 5: drums
    step 6: done

  • @PatrickEAS2012
    @PatrickEAS2012 2 ปีที่แล้ว +12

    1:38 amazing part

  • @maurolionelmisjuegosyo940
    @maurolionelmisjuegosyo940 ปีที่แล้ว +6

    1:09 when you wanna make music but you’re unmotivated and you just put randomness:

  • @Swordshreader
    @Swordshreader ปีที่แล้ว +4

    2:49 is a very interesting sound. I think I'ma use it in a song.

  • @pan.matvey_and_more_videos
    @pan.matvey_and_more_videos ปีที่แล้ว +3

    3:05 base 8,192 *sorting.exe stopped working*

  • @N0tHumqn
    @N0tHumqn ปีที่แล้ว +4

    0:51 we once try again to turn on the stove

  • @somebodyoncetoldme186
    @somebodyoncetoldme186 หลายเดือนก่อน +1

    I feel like there’s more to why base 512 outputs music and it isn’t just a coincidence. What’s the underlying meaning? What’s so special about 512 or radix?

  • @westinghouse14
    @westinghouse14 2 หลายเดือนก่อน +1

    00:00 Base 128
    00:29 Base 256
    00:58 Base 512
    01:26 Base 1.024
    01:55 Base 2.048
    02:24 Base 4.096
    02:53 Base 8.192
    03:24 Base 16.384

  • @pan.matvey_and_more_videos
    @pan.matvey_and_more_videos ปีที่แล้ว +2

    2:38 base 4,096 *lag*

  • @minestudiolikelimelife8555
    @minestudiolikelimelife8555 11 หลายเดือนก่อน +1

    Funk time 1:09

  • @ChiNguyen-tw7sj
    @ChiNguyen-tw7sj 8 หลายเดือนก่อน +1

    3:19 3:19 3:19 3:20

  • @AlexR-ATG
    @AlexR-ATG 10 หลายเดือนก่อน +1

    1:38 - A bootleg version of the category reveal from Jeopardy!

  • @Jkauppa
    @Jkauppa 2 ปีที่แล้ว +2

    hash sort directly to bins, just (max-min)/bins to get the bin width, (x-min)/binwidth to get the bin number, uniform distribution of data assumed, use other hash functions for other distributions, you can do multiple scans per recursion, like the max,min before the data number binning, other O(n) compatible scans possible

    • @Jkauppa
      @Jkauppa 2 ปีที่แล้ว +1

      it will not be different for different scale of numbers, supports int and fp numbers, just two passes per run, very aggressive divide and conquer, easily simply multi-threadable

  • @ゆり14
    @ゆり14 หลายเดือนก่อน

    I love it when the sorting algorithm sounds so angelic

  • @Tyberes
    @Tyberes 2 หลายเดือนก่อน

    Isn't base 16384 technically just a counting sort?

  • @tadeufornazari2733
    @tadeufornazari2733 19 วันที่ผ่านมา

    16,384 bugou seu pc

  • @pan.matvey_and_more_videos
    @pan.matvey_and_more_videos ปีที่แล้ว +1

    0:40 *oh d!*

  • @nguyenthai3140
    @nguyenthai3140 9 หลายเดือนก่อน

    base 1024 and 2048 is piano

  • @AustinTimmins-c8z
    @AustinTimmins-c8z ปีที่แล้ว

    3:24
    Base 16384

  • @pan.matvey_and_more_videos
    @pan.matvey_and_more_videos ปีที่แล้ว

    0:12

  • @stellarx20
    @stellarx20 11 หลายเดือนก่อน

    Gotta love counting sort in these sorting algorithm representations:
    - scan
    - BWEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEP
    - sorted