Nuacht

With your recursive calls to quicksort, that probably eats up memory fast. There does not seem to be any reason for that, either, as you appear to never use the variable.