make-github-pseudonymous-again/js-sorting

convenience wrapper

make-github-pseudonymous-again opened this issue · 0 comments

this

heapsort = sort.__heapsort__( 2 );
heapsort( compare, array, 0, array.length );

could then be written

heapsort = sort.whole(  sort.__heapsort__( 2 ) );
heapsort( compare, array );