Use realloc for histogram cache and expose the cache limit. (#9455)
This commit is contained in:
@@ -42,7 +42,7 @@ hist_parameter_strategy = strategies.fixed_dictionaries(
|
||||
)
|
||||
|
||||
hist_cache_strategy = strategies.fixed_dictionaries(
|
||||
{"internal_max_cached_hist_node": strategies.sampled_from([1, 4, 1024, 2**31])}
|
||||
{"max_cached_hist_node": strategies.sampled_from([1, 4, 1024, 2**31])}
|
||||
)
|
||||
|
||||
hist_multi_parameter_strategy = strategies.fixed_dictionaries(
|
||||
|
||||
Reference in New Issue
Block a user