|P is for Practical|
Re^4: bigint == horrible performance?by BrowserUk (Pope)
|on Nov 07, 2011 at 15:04 UTC||Need Help??|
So I removed "use bigint" .. lo, and behold! It runs .. fast.
Arbitrary precision math is, regardless of the language in which it is written, much, much slower than fixed precision. It is the nature of the beast. If you know how arbitrary precision math works it will not come as any surprise.
It therefore falls to the developer to understand that and only use arbitrary precision when it is actually required.
I have a tendency to get somewhat exasperated when I see people offering Math::Big* as a solution to problems where there is a perception of a "precision problem", when 95% of them have far simpler and more efficient solutions.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.