lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

2018-05-15 23:20 GMT+02:00 Albert Chan <>:
> 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).

That tells you precisely how the the terms "faster" and "slower" are
used _in that article_, in order to avoid misunderstanding by readers
whose usage may be different.

It is exactly the same kind of remark as:

> I ALWAYS use speed ratio, say 1.143X, to avoid this ambiguity

except that it does not confidently claim "ALWAYS".