Merging sorted runs using large main memory (Q1116703)

From MaRDI portal
Revision as of 16:21, 13 July 2023 by Importer (talk | contribs) (‎Created a new Item)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
scientific article
Language Label Description Also known as
English
Merging sorted runs using large main memory
scientific article

    Statements

    Merging sorted runs using large main memory (English)
    0 references
    0 references
    0 references
    1989
    0 references
    With large amounts of main memory, we show that the best method for merging sorted runs in almost all circumstances is to use two input buffers for each run. The use of these buffers makes it likely that reading in the sorted runs and writing the merged file overlap. We demonstrate that this method, with one or two passes, is superior to any merge pattern where reading and writing do ot overlap in almost all cases we are likely to encounter. We also show a pathological example, constructed from constraints on the method, where in spite of having two buffers for each run, some significant non-overlapping occurs.
    0 references
    0 references
    main memory
    0 references
    merging
    0 references
    sorted runs
    0 references