I'm learning about threads in java and I was trying to run QuickSort using two threads on one array, but didn't work as expected . The idea is to run one thread on the first part after the array's partition, and the second thread would run on the other part. I assumed using two threads running in parallel would improve the performance, but it didn't. After many tests, using the two threads was relatively worse than the regular original quicksort sorting.
I don't know what seems to be the problem.