parquet_debug_set_sort_depth_limit Interface

interface
public module subroutine parquet_debug_set_sort_depth_limit(n)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n

forced depth limit, or a negative value to restore.

Description

Test-only override for the introsort's depth limit; NEGATIVE restores the computed one.

Zero makes the very first oversized range fall back to heapsort, which is the only way to reach that arm from a test-sized fixture. Has no effect on the C++ engine. Also ZEROES the heapsort counter, so a test arms and reads in the obvious order.