[PATCH] Stop doing the (very expensive) pow() calculation pointlessly
dirk at hohndel.org
Tue Jan 21 07:49:21 UTC 2014
On Sun, 2014-01-19 at 14:21 -0800, Linus Torvalds wrote:
> On Sun, Jan 19, 2014 at 2:06 PM, Linus Torvalds
> <torvalds at linux-foundation.org> wrote:
> > But I actually think that's more correct! Without that, your TTS is
> > calculated as "you can go up 3 meters every ten seconds". Which is
> > borderline fine, but is that really a good assumption? That's
> > 18m/minute. Not a safe ascent rate.
> Ugh. No. It has ascent_s_per_deco_step to protect against that. Which
> is calculated *after* we've seen that we're ok to go up to that next
> So the TTS code is actually being overly conservative.
So what's the conclusion here (I know you are knee deep in the merge
window, but I want to close on this)?
More information about the subsurface