Reference PR #282
Both _compute_normalization and get_max_density will compute the pdf over the entire integer range of NormalIntegerHyperparameter and BetaIntegerHyperparameter. This is usually fine unless the ranges get massive, i.e. the entire int32 range.
Originally this destroyed memory and was quite slow but PR #282 changed this to operate on chunks of the range at a time, allowing memory to stay constant. However these computations still need to happen.
I'm not sure of an accurate fix to this problem.
import ConfigSpace.hyperparameters as CSH
# This will hang for incredibly long
CSH.NormalIntegerHyperparameter('a', mu=10, sigma=500, lower=1, upper=2147483647)