Performance tweaks in partitioning strategy.
Reduce the number of object references in ParallelQuicksort.

Should significantly reduce memory consumption of the app.
Reuse some computation.