[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT2 FFI 2D VLA causing massive runtime memory usage growth
- From: Johnson Lin <arch.jslin@...>
- Date: Wed, 23 Feb 2011 17:42:28 +0800
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