Jump to content

Sorting algorithms/Quicksort: Difference between revisions

m
Cosmetic changes in the Io version.
m (Added Io version.)
m (Cosmetic changes in the Io version.)
Line 651:
 
quickSortInPlace := method(
copy(self getSlot("quickSort") performOn(
self, call sender, call message
))
)
)
Line 661 ⟶ 659:
lst quickSortInPlace println # ==> list(-4, -1, 2, 5, 9)</lang>
Another more low-level Quicksort implementation can be found in Io's [[http://github.com/stevedekorte/io/blob/master/samples/misc/qsort.io github ]] repository.
 
=={{header|J}}==
{{eff note|J|/:~}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.