<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hello Jari et al,<br>
<br>
in the last days I have run a few tests with LuaJIT (JIT=Just in
time-compiler) as I am still looking for efficient ways to make my
Perfect Layout plug-in faster. According to their homepage (
<a class="moz-txt-link-freetext" href="http://luajit.org">http://luajit.org</a> ) their LuaJIT.exe runs Lua code about 3x - 100x
faster than the original Lua52.exe implementation.<br>
<br>
In some typical tests that I assume are similar to my JW Lua code
and that usually take about 4-6 hours with Lua52, LuaJIT needed just
about 1,5 hours, so about <b>3-4 times faster </b>without changing
any code.<br>
<br>
It's not possible to test it directly in JW Lua as you can't include
the LuaJIT object code in JW Lua, but I guess it would be possible
to use it if JW Lua was updated to be able to use LuaJIT.<br>
<br>
Anyone with more experience on that topic?<br>
The only problem I see at the moment:<br>
LuaJIT uses an extended version of Lua 5.1 with many features from
5.2, but it is not fully compliant with 5.2 - while JW Lua uses 5.2.
<br>
So I don't know if it will really work or if there are any JW Lua
features that should be avoided.<br>
<br>
Best,<br>
Jan<br>
<br>
</body>
</html>