home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sources.d:1219 alt.sources.d:1058
- Newsgroups: comp.sources.d,alt.sources.d
- Path: sparky!uunet!mcsun!Germany.EU.net!murignis!ap542!D012S436!frank
- From: frank@D012S436.sniap.mchp.sni.de ()
- Subject: Sorting in Virtual Memory
- Message-ID: <1992Aug27.093506.11349@sniap.mchp.sni.de>
- Sender: news@sniap.mchp.sni.de (News Admin)
- Organization: Siemens-Nixdorf AG
- Date: Thu, 27 Aug 92 09:35:06 GMT
- Lines: 23
-
- I'm writing a program which needs to sort a large array
- parts of which are swapped in and out of memory (my own
- implementation of a sort of VM).
-
- The array is divided up into pages of size ~8K which are
- swapped to disk as necessary on a LRU basis.
-
- Does anyone know of a sorting algorithm which will work in
- harmony with this LRU paging? I can quicksort the elements
- of each individual page of the array, but then the problem
- is to sort the pages themselves with the minimum amount
- of swapping. Traditional sort alrgorithms optimise on
- comparisons - what I want is also to optimise the *order*
- of comparison, I think. Any ideas?
-
-
- Any help appreciated,
- Frank O'Dwyer
- --
- Frank O'Dwyer Disclaimer:
- Siemens-Nixdorf AG I will deny everything
- Tel. : +49 (89) 636-40639 Fax. : +49 (89) 636-45860
- e-mail: Frank.ODwyer@sniap.mchp.sni.de
-