[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: Wed, 16 Feb 2011 19:11:09 +0200
On Wed, Feb 16, 2011 at 6:29 PM, Philippe Lhoste <PhiLho@gmx.net> wrote:
> It would be nice, perhaps, if Lua had a way to define true, efficient
> constants.
> (Yes, that's another bag of worm. Perhaps if someone want to comment on my
> remark, a new thread should be started...)
Sounds like a job for the token-filter patch ... it seems doable in
LuaJIT, pretty similar code.. Then one can do like C (another fine
language with no constants) and preprocess the problem away. I suspect
that LuaMacro can help to bridge the divide [1]
steve d.
1. I know, we were all told that the C preprocessor was a bad idea, no
lexical scope, and so forth. But macros are no worse than globals
really, and strong religious feelings should be kept out of
engineering ;)
- References:
- 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, Leo Razoumov
- Re: LuaJIT2 performance for number crunching, Francesco Abbate
- Re: LuaJIT2 performance for number crunching, T T
- Re: LuaJIT2 performance for number crunching, Daurnimator
- Re: LuaJIT2 performance for number crunching, Mike Pall
- Re: LuaJIT2 performance for number crunching, Philippe Lhoste