LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 1998, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 26 Oct 1998 08:26:18 -0500
Reply-To:     "King, Raymond" <raymondk@MOCR.OAPI.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         "King, Raymond" <raymondk@MOCR.OAPI.COM>
Subject:      Sorting
Content-Type: text/plain

Does anyone know what algorithm is used as the default with PROC SORT.

The recent discussion of SORTing efficiency jump-started my curiosity. Paul Dorfman's 'Insertion Sort' solution to a recent question was well received and proved to be "three times as fast" as other methods. Yet, Insertion Sort is on the Order of N**2 in complexity, and there are more efficient sorting algorithms.

It would be interesting to see how much better things can get using an algorithm that's on the Order of N complexity.

Any thoughts ...

RRK

++++++++++++++++++++++++++++++++ Raymond King Otsuka America Pharmaceutical, Inc. 2440 Research Boulevard Rockville, MD 20850 301.527.4755 ++++++++++++++++++++++++++++++++


Back to: Top of message | Previous page | Main SAS-L page