Skip to content

naman14310/Two_Phase_MergeSort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two Phase Merge Sort

Language used : Python 3

Contents in folder

  1. sort.py
  2. Analysis.pdf

Command to run

  1. Without Multithreading

python sort.py <input_filename> <output_filename> <memory_limit> <order> <colomn_list>

Example :

python sort.py 5MB.txt output.txt 100 asc C3 C1

  1. With Multithreading

python sort.py <input_filename> <output_filename> <memory_limit> <thread_count> <order> <colomn_list>

Example :

python sort.py 5MB.txt output.txt 100 5 desc C3 C1

Note :

Graphs and Inferences are mentioned in Analysis.pdf

About

Implemented two-phase merge sort algorithm to sort a large number of records.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages