[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is 70ms 14 or 12% faster than 80ms ?
- From: Albert Chan <albertmcchan@...>
- Date: Tue, 15 May 2018 17:20:48 -0400
If what everyone here say is true, "Lua Programming Gems" is wrong
(unless it is trying to *redefine* the meaning of % faster)
Quote from chapter 2, Lua Performance tips :
When I say that a program is "X% times faster" than another it means
that it runs in % less time. (A program 100% faster would take no time
to run). When I say that a program is "X% times slower" than another
I mean that the other is % faster. (A program 50% slower means that
it takes twice the time).
I ALWAYS use speed ratio, say 1.143X, to avoid this ambiguity