pub fn max_hash_log(level: i32) -> Option<u32>
Returns the maximum hash_log for a given level. Used by CompressContext to pre-allocate hash tables.