Hybrid termination
function sort( keys ); begin if size(keys) > M then < ...main sorting algorithm... > else simplersort( keys ); end;
Pascal
source (425.hybrid.p)
©
Addison-Wesley
Publishing Co. Inc.