View Single Post
  #8  
Old 11-14-2007, 05:41 PM
Wyman Wyman is offline
Senior Member
 
Join Date: Mar 2007
Location: MI, at least for a few yrs =(
Posts: 222
Default Re: Best Sorting Algorithm For Large Numbers

In what context are you sorting?

Is it a one-time sort? Do you want to maintain the sorted list and add/delete items over time? Are there 10000000 elements that you're sorting? 10? 2? Does your data have any structure at all, or are the numbers chosen uniformly at random from 0 to 9999999999999999?

Quick answer: For a specific problem, I'd implement and test a few sorting algorithms to see which is fastest. Check out quicksort and radix sort.
Reply With Quote