[LTP] [PATCH 2/2] Avoid zero or negative int results in calculations

Jozef Pupava jpupava@suse.cz
Fri Mar 27 11:15:46 CET 2020


Hi Petr,

I will try to decrease, ideally remove the slowdown.

Jozef

On Fri, 27 Mar 2020 10:57:15 +0100
Petr Vorel <pvorel@suse.cz> wrote:

> Hi,
> 
> > Before:
> > real	0m0,013s  
> 
> > After (slowed by second commit, not by the rewrite):
> > real	0m0,402s  
> 
> Although the slowdown it's ~30 times, it's obviously fast enough,
> so I wouldn't consider it as a problem. I was just surprised by it.
> 
> My concern is about brief explanation where/how is zero or negative
> result appears. But maybe it's obvious and I just don't see it.
> 
> Kind regards,
> Petr



More information about the ltp mailing list