lua-users home
lua-l archive

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

On 6/23/2016 5:10 PM, Viacheslav Usov wrote:
On Thu, Jun 23, 2016 at 10:05 AM, KHMan wrote:
 > I also added a roughly equivalent table passing version.

I would expect that in this test the callee should still be
variadic, collecting its arguments into and manipulating them as a
table. It would also be nice to see the results for fewer than 10
arguments, because at least thinking about my Lua code, that is
the dominant case for variadic functions.

Well, if someone wants to adjust bench_vararg3.lua, then post it and I'd be happy to update the timings table. Or another kind of workload. I was just aiming to get some numbers for a ballpark 'feel' of relative performance... Also I'm thinking if we want to test <10 elements, then we'd need a zero element control to compare with.

Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia