ronitray95 / two_phase_sort

An implementation of Two Phase Merge Sort, to sort extremely large text files using limited RAM. Developed in Python 3 and C++.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Two phase merge sort

Compliation and execution

Compile with g++ -std=c++14 -o tpms main.cpp Execute with ./tpms <input_file> <output_file> <memory_to_use> [no_of_threads] <asc/desc> <list_of_columns (space separated)>

For single threaded execution, no need to enter anything in [no_of_threads]

About

An implementation of Two Phase Merge Sort, to sort extremely large text files using limited RAM. Developed in Python 3 and C++.

License:MIT License


Languages

Language:C++ 54.7%Language:Python 45.3%