lua-users home
lua-l archive

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


The term "fast" refers to "speed". To express speed, you need to specify amount and time.

If a process takes 70ms to complete, then it's speed is 14,29 times per second (1 / 0,07)

If a process takes 80ms to complete, then it's speed is 12,5 times per second.

so, the speed of 70ms is (14,29/12,5) times faster than 80ms's speed = 14,289 % faster....

On Tue, May 15, 2018 at 8:19 AM, Albert Chan <albertmcchan@yahoo.com> wrote:
Is 70ms 14 or 12% faster than 80ms ?

Reading many stackoverflow response, I am still confused.
Most answers claimed (1 - 70/80), or 12.5% faster

If the math is right, it is impossible to be 100% faster.
10 times faster (1000%) is meaningless (time is negative)

I normally avoid using "percentage faster", and prefer ratio:
Speed at 80/70 = 1.14X

--

https://stackoverflow.com/questions/31506554/is-70-ms-14-or-12-faster-than-80-ms?noredirect=1&lq=1

https://stackoverflow.com/questions/8127862/how-do-you-calculate-how-much-faster-time-x-is-from-time-y-in-terms-of

https://math.stackexchange.com/questions/716767/how-to-calculate-the-percentage-of-increase-decrease-with-negative-numbers/716770#716770






--
Alysson Cunha / AlyssonRPG
http://www.rrpg.com.br - Jogue o tradicional RPG de mesa online
http://www.alyssoncunha.com.br - Me conheça melhor