convenience wrapper
make-github-pseudonymous-again opened this issue · 0 comments
make-github-pseudonymous-again commented
this
heapsort = sort.__heapsort__( 2 );
heapsort( compare, array, 0, array.length );
could then be written
heapsort = sort.whole( sort.__heapsort__( 2 ) );
heapsort( compare, array );