lua-users home
lua-l archive

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


Mike Pall wrote:
[...]
> bor/band/bxor    129.5 ns    67.0 ns    13.7 ns     0.0 ns

That's impressive performance for LuaJIT 2; does that 0.0ns also include
the overhead needed to call out to a Lua extension function in C, or is
there some streamlined mechanism to emit the appropriate instructions
inline with the generated code? (Or, more prosaically, does your
benchmark not count the C overhead?)

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ ⍎'⎕',∊N⍴⊂S←'←⎕←(3=T)⋎M⋏2=T←⊃+/(V⌽"⊂M),(V⊝"M),(V,⌽V)⌽"(V,V←1⎺1)⊝"⊂M)'
│ --- Conway's Game Of Life, in one line of APL

Attachment: signature.asc
Description: OpenPGP digital signature