Hi Jordan,

> Using a BCNum inside a loop is the use case, where every loop would result in 
> memory allocation for a new object, as well as the overhead of the 
> constructor, etc.
> 
> Granted, only people who REALLY know what they are doing should be doing 
> this. Though my library which essentially IS a wrapped for BCMath that is 
> upgradeable if you install other extensions (like ext-decimal) does support 
> both, I suggest using primarily immutables in my docs.
> 
> That said, the C library itself for BCMath is insanely inefficient as far as 
> arbitrary precision math goes, so I would suggest that people don't get their 
> hopes up too much on the performance front.

I just sent an email, and you're right about performance. Therefore, the point 
of this proposal seems to be simply to improve convenience.

Regards.

Saki

Reply via email to