Skip to content

Multiple optimizations on regular recursive Quick Sort including parallelization, cache and recursion optimizations.

License

Notifications You must be signed in to change notification settings

njegos-dukic/QuickSort-Optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuickSort-Optimization

  • Optimizations:

    1. CPU Parallelism: C# Parallel Library
    2. Cache Optimizations: Dual-Pivot QuickSort
    3. Instruction Optimization: Insertion Sort
    4. Compiler optimizations: C# Optimize Code
  • Notable performance improvements.

  • Using NuGet VxSort (AVX) package for reference.

  • Sorting 100'000'000 random integers in 2182 [ms].

  • Sorting 300'000'000 random integers in 6738 [ms].

  • Visualing results in accompanied Excel file.


About

Multiple optimizations on regular recursive Quick Sort including parallelization, cache and recursion optimizations.

Topics

Resources

License

Stars

Watchers

Forks

Languages