<snip>
> > What you say hints that the JIT one is always better.  So why not use
> > luajit when it's available, falling back to non-JIT when it's not?
> > Then it would work well for people who don't even know about the option.
> > Right?
> >
> > The option might still be useful to force using one or the other.
> > Perhaps the JIT version is released a bit later?
> >
> 
> That was discussed before at https://github.com/vim-jp/issues/issues/348.
> 
> If both Lua and LuaJIT are installed on an environment, it may be good
> to be selectable Lua or LuaJIT for plugin developers to test both
> versions.
> Now Lua 5.2 is released. But LuaJIT version is still Lua 5.1
> compatible. 5.2 is not compatible with 5.1
> If a user want to use Lua 5.2 and both Lua and LuaJIT are installed,
> it is better to be selectable.
> 
> Indeed I can change configure to give high priority to LuaJIT if is's OK.
> 
> Possible way is:
> --enable-luainterp: use LuaJIT, but fallback Lua if LuaJIT is not available
> --enable-luainterp --with-lua: force to use Lua
> 
> Any ideas?

Since Lua 5.2 is the official Lua release, I'd suggest to stick to it as the
default and have a --with-luajit option as before.

Cheers,
Luis

-- 
Computers are useless. They can only give you answers.
                -- Pablo Picasso

-- 
Luis Carvalho (Kozure)
lua -e 'print((("[email protected]"):gsub("(%u+%.)","")))'

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui