Quicksort vs. Shell
|
06-18-2014, 05:10 AM
Post: #18
|
|||
|
|||
RE: Quicksort vs. Shell
(06-17-2014 09:15 PM)Claudio L. Wrote: Binary insertion is still a very good algorithm for small sets. Shell is just an improvement Straight insertion is best for small sets and almost ordered sets, and that's exactly what shell sort exploits: the gaps are large at the beginning, so you sort small subsets, and smaller at the end, but by then the sets are almost in order. Binary insertion will likely degrade shellsort's performance instead of improving it. Werner 41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)