Sets the row count below which a sort refuses to use threads at all, however many threads=
asks for. Pass 0 to restore the built-in 8192.
Enables or disables the sort's integer counting fast path.
The counting path is a second implementation that must produce exactly the same permutation as the comparator path, and it is the one place in the sort engine where a wrong answer would be fast rather than slow. Turning it off is how a test compares the two on one fixture; there is no performance reason for a program to do so.
The full rule, in this order: the counting path is used when this flag is on and the key's
value range fits parquet_set_sort_counting_bucket_limit and the key is a single,
null-free integer key. Turning the flag off overrides the limit; raising the limit does
nothing while the flag is off.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in) | :: | enabled |
.true. (the default) allows the fast path. |
subroutine parquet_set_sort_counting_path(enabled) logical, intent(in) :: enabled !! .true. (the default) allows the fast path. cfg_sort_counting_path = enabled end subroutine parquet_set_sort_counting_path