fn adaptive_encode_bytes_threshold(global_write_buffer_bytes: usize) -> usize
Computes the encode bytes threshold adapted to the global write buffer size: max(64 MiB, min(global_write_buffer_size / 32, 512 MiB)).
max(64 MiB, min(global_write_buffer_size / 32, 512 MiB))