I'm trying to make a generic sorting algorithm , and i need a compare callback method, my quicksort without the call for the compare takes 3 ms with it it take 150ms is that make sense ?
my compareValue sub is as simple as it can be (compare two int) but I do cast it from object to int - maybe that add something
anyone ?
my compareValue sub is as simple as it can be (compare two int) but I do cast it from object to int - maybe that add something
anyone ?