Article View: comp.sources.d
Article #726Sorting in Virtual Memory
From: frank
Date: Thu, 27 Aug 1992 09:35
Date: Thu, 27 Aug 1992 09:35
23 lines
1297 bytes
1297 bytes
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
Technical Details
Message-ID:
<1992Aug27.093506.11349@sniap.mchp.sni.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!murignis!ap542!D012S436!frankShow Full Headers
Complete Article Headers
Newsgroups: comp.sources.d,alt.sources.d Path: arc1-ca.pugleaf.net!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