lua-users home
lua-l archive

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


On Wed, Feb 23, 2011 at 5:24 PM, Mike Pall <mikelu-1102@mike.de> wrote:
> Johnson Lin wrote:
>> The only case LuaJIT lost to gcc -O3 compiled version was the first
>> one: glVertex3f calls, since that's one call per cell to a NYI C
>> function.
>
> That NYI should be fixed with latest git HEAD, too.
>
> --Mike

Oops,
I might be mistaken, but I still saw a few "NYI: unsupported C
function type" and then followed by a "fall back to interpreter" when
using -jv. You might want to check my lua code in the last post, it's
at line 379. I'm pretty sure glColor3f and glVertex3f are both with
void result, just checked the OpenGL documentation, so it should've
worked, I dunno why it didn't :p

Johnson Lin