This is a CLI that implements generating and sorting huge files of random integer numbers. You can choose one of the two external sorting algorithms:
- Natural Merging
- Multiway Merging
npm install
npm run build
node dist/index.js
npm run test
node dist/index.js generateFile 10 -u MB -min -1000000000 -max 1000000000 -nInL 5
node dist/index.js sort -t multi-way-merge -ps ./data/generated_file_10MiB.txt