Is there any reason why the pool size can't be unlimited? The default is 1 and setting to Infinity causes pool.fill to fail with:
Error: Maximum count of objects exceeded.
I'm using the pool for it's "recyclation features" rather than for limiting the count of objects. My current hotfix is setting max to Number.MAX_SAFE_INTEGER.
Is there any reason why the pool size can't be unlimited? The default is 1 and setting to
Infinity
causespool.fill
to fail with:I'm using the pool for it's "recyclation features" rather than for limiting the count of objects. My current hotfix is setting
max
toNumber.MAX_SAFE_INTEGER
.