The Rapid sort or Instant sort (name of hardware version) is a sorting algorithm in which data is used to address the contents of an indexed array and the contents then incremented. The counts are then read from each location in sequential order by incrementing the index and printing the index the same number of times as the content values. Sorting is therefore transparent, automatic and instantaneous.
DIM a(9999999)
'--- Beginning of first "pass" ---------
FOR I=1 TO 100
n=INT(4*RND)
a(n)=a(n)+1
NEXT I
'--- Beginning of second "pass" --------
FOR I=0 TO 9999999
DO
if a(I)>0 then PRINT I
a(I)=a(I)-1
LOOP UNTIL a(I)=0
NEXT I
END
DIM a(9999999)
'--- Beginning of first "pass" ---------
FOR I=1 TO 100
n=INT(4*RND)
a(n)=a(n)+1
NEXT I
'--- Beginning of second "pass" --------
FOR I=0 TO 9999999
DO
if a(I)>0 then PRINT I
a(I)=a(I)-1
LOOP UNTIL a(I)=0
NEXT I
END
by Patrick Eberhart May 29, 2006
Bro since I got dirtpilled on Tuesday I have made sooo many worm friends and made them soo many little houses to get married in. Me? Lonely? No youβre the lonely one u lawn owning freak
via giphy
by ecogoth December 30, 2020
Apr 22 trending
- 1. Watermelon Sugar
- 2. Ghetto Spread
- 3. Girls who eat carrots
- 4. sorority squat
- 5. Durk
- 6. Momala
- 7. knocking
- 8. Dog shot
- 9. sputnik
- 10. guvy
- 11. knockin'
- 12. nuke the fridge
- 13. obnoxion
- 14. Eee-o eleven
- 15. edward 40 hands
- 16. heels up
- 17. columbus
- 18. ain't got
- 19. UrbDic
- 20. yak shaving
- 21. Rush B Cyka Blyat
- 22. Pimp Nails
- 23. Backpedaling
- 24. Anol
- 25. got that
- 26. by the way
- 27. Wetter than an otter's pocket
- 28. soy face
- 29. TSIF
- 30. georgia rose
