Skip to content

CLI that implements generating and sorting huge files of random integer numbers using multiway merge and natural sorting algorithms

License

Notifications You must be signed in to change notification settings

GEOFARL/external-sorting

Repository files navigation

External sorting CLI

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

cli-main-view

Installing

npm install

Building

npm run build

Running

node dist/index.js

Testing

npm run test

Examples

Generating a file

generate-file-command

node dist/index.js generateFile 10 -u MB -min -1000000000 -max 1000000000 -nInL 5

Sorting a file

sort-file

node dist/index.js sort -t multi-way-merge -ps ./data/generated_file_10MiB.txt

About

CLI that implements generating and sorting huge files of random integer numbers using multiway merge and natural sorting algorithms

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published