[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT2 performance for number crunching
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 15 Feb 2011 11:25:16 +0200
On Tue, Feb 15, 2011 at 11:11 AM, Michal Kottman <k0mpjut0r@gmail.com> wrote:
> Or maybe dedicate an entire chapter to it in the Cookbook :) as I
> proposed in http://lua-users.org/lists/lua-l/2011-02/msg00582.html
Totally, this is important stuff. I suggest we follow Mike wherever he
goes and collect all his pieces of concrete advice.
But the wiki is good for initial collaboration.
I've done a template-ized version of Francesco's code, and it's full
of beauties like:
$(AL 's.y') = $(VL 'v_')
which expands to
s.y[0],s.y[1] = v_0,y_1
(The search for the ultimate syntax continues...)
Initially my Lua ears were tingling and then I realized - of course,
these C arrays are zero-based!
steve d.
- References:
- LuaJIT2 performance for number crunching, Francesco Abbate
- Re: LuaJIT2 performance for number crunching, Mike Pall
- Re: LuaJIT2 performance for number crunching, Francesco Abbate
- Re: LuaJIT2 performance for number crunching, Mike Pall
- Re: LuaJIT2 performance for number crunching, Francesco Abbate
- Re: LuaJIT2 performance for number crunching, Florian Weimer
- Re: LuaJIT2 performance for number crunching, Francesco Abbate
- Re: LuaJIT2 performance for number crunching, Leo Razoumov
- Re: LuaJIT2 performance for number crunching, Francesco Abbate
- Re: LuaJIT2 performance for number crunching, Leo Razoumov
- Re: LuaJIT2 performance for number crunching, Francesco Abbate
- Re: LuaJIT2 performance for number crunching, steve donovan
- Re: LuaJIT2 performance for number crunching, Michal Kottman