[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Poor man's benchmarking issue - help needed
- From: Alexander Gladysh <agladysh@...>
- Date: Wed, 31 Aug 2011 12:17:25 +0400
On Wed, Aug 31, 2011 at 11:03, Lorenzo Donati
> I stumbled a funny result when doing very simple benchmarking on some of my
You did not say if you were using plain Lua or LuaJIT. Seems to be plain Lua.
> According to the following benchmarks, built-in math.floor and math.ceil are
> slower than their counterpart rewritten using the core % operator!
That is to be expected. C function call is relatively slow.