Skip to content

ShuoWangNSL/externalsort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

externalsort

External sort for big data on disk

Problem

Sort 2^31 intergers on the disk (16 GB) with 2 GB memeroy.

Solution

generate.h:

generate 2^31 intergers and store them on the disk

dataio.h:

exchange data between disk and memory

Loserheap.h:

uesed for merged sort

externalsort.cpp:

main

About

External sort for big data on disk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages