home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!walter!att-out!pacbell.com!ames!olivea!inews.Intel.COM!cad052!jhoriga
- From: jhoriga@cad052.NoSubdomain.NoDomain (John Horigan~)
- Newsgroups: comp.lang.c
- Subject: Re: external sorting
- Message-ID: <BxvD9K.3C1@inews.Intel.COM>
- Date: 17 Nov 92 16:46:31 GMT
- References: <1992Nov17.103111.19839@di.unipi.it>
- Sender: jhoriga@cad052 (John Horigan~)
- Organization: Intel Corp.
- Lines: 23
- Nntp-Posting-Host: cad052
-
- In article <1992Nov17.103111.19839@di.unipi.it>, ntranqu@caticsuf.cati.csufresno.edu (Nico Tranquilli) writes:
- |> I'm writing an article on how to sort large files using Mergesort
- |> and I was wondering if anyone out there know of other good
- |> sorting algorithms that can be used for external sorting too.
- |>
- |> --
- |> Nico Tranquilli
- |> v. Ruffini, 13
- |> 62012 Civitanova Marche (MC) - Italy
- |> phone: +39 (50) 550-266
- |> home phone: +39 (733) 770-332
- |> net: ntranqu@caticsuf.cati.csufresno.edu
-
- Check out Radix Sort. It's easy to implement as an external sort
- and it sorts in O(n) time. Cormen, Leiserson and Rivest's _Introduction
- to Algorithms_ has a good description as do many algorithm books. Do
- you describe both standard merge sort and natural merge sort in your
- article? (Natural merge sort takes advantage of pre-existing order
- in your data.)
-
- ------------------------------------------------------------------------
- John W. Horigan GRP Engineer DT Physical Design CAD Validation
- Intel, Santa Clara (415)765-4773 M/S: RN4-38 jhoriga@scdt.intel.com
-