Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sorting Algorithms
#8
Hazzy Wrote:Assuming the animations reflect time consumption... is there any reason to use one other than Quick Sort?

Does not reflect time consumption.

A combination of Mergesort and Quicksort is usually done whenever you do a sort in java, python, c or any other language really.

For integers, radix sort is quite fast. For partly sorted arrays, smoothsort is the way to go. As Spaz said, what algorithm you decide to use depends on the constraints you have.
Reply


Messages In This Thread
Sorting Algorithms - by Cyadd - 2010-10-20, 10:01 PM
Sorting Algorithms - by Hazzy - 2010-10-20, 10:12 PM
Sorting Algorithms - by Russt - 2010-10-20, 10:55 PM
Sorting Algorithms - by Loose - 2010-10-20, 11:03 PM
Sorting Algorithms - by Fiel - 2010-10-20, 11:17 PM
Sorting Algorithms - by Cyadd - 2010-10-21, 12:04 AM
Sorting Algorithms - by Spaz - 2010-10-21, 02:10 PM
Sorting Algorithms - by Nikkey - 2010-10-21, 09:09 PM
Sorting Algorithms - by Russt - 2010-10-21, 11:46 PM
Sorting Algorithms - by Stereo - 2010-10-22, 12:28 AM
Sorting Algorithms - by Russt - 2010-10-22, 12:43 AM
Sorting Algorithms - by Nikkey - 2010-10-22, 06:32 AM
Sorting Algorithms - by Stereo - 2010-10-22, 01:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)