Re: faster representation of pow on some áreas of subsurface?
sergey.starosek at gmail.com
Sun Jan 19 11:53:57 UTC 2014
On Sun, Jan 19, 2014 at 9:29 PM, Tomaz Canabrava <tcanabrava at kde.org> wrote:
> I'v replaced the pow() call with the fastPow() that I found on the
> internet and it got *way* snappyer.
> I dunno how is this compared with the real pow in terms of correctness, but it make the profile very responsive, even the old one.
> I found the code ( with the documentation on how the magic numbers works )
I think it's not an option for Subsurface given its error margin (5-15%
avg, up to 25%).
Ankerl's algorithm seems to be further optimization of Schraudolph's
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the subsurface