Skip to content
Snippets Groups Projects
Commit 2e864b5a authored by alyapunov's avatar alyapunov Committed by Roman Tsisyk
Browse files

Use open MP sort optimisation only for huge arrays

Now open MP sort is used for any size of an array.
For small arrays it's an overkill and even can cause overhead
due to thread pool creation.

Invoke open MP sort only for big arrays and use old good
single-thread qsort for small arrays.

Fix #2431
parent 6015e0df
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment