Many thanks for the help bartbes, I would have never figured out declaring the arg locally, since it works in 0.7.2 without doing so.
High detail map generation time (loop performance):
11.4 secs -> 5.6 secs
Frames per second in battle (pure rendering):
204 FPS -> 255 FPS
No side effects noted, color me impressed.
LoveJIT
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: LoveJIT
I'll note that that was only how to get an equivalent table, oftentimes you can get by without turning it into a table.
Also, that's not 0.7.2, that's lua 5.1(.4), luajit, as a re-implementation decided never to add this deprecated feature in the first place.
Also, that's not 0.7.2, that's lua 5.1(.4), luajit, as a re-implementation decided never to add this deprecated feature in the first place.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: LoveJIT
I updated the links in my original post for LuaJIT 2.0.0-beta8.
Re: LoveJIT
Will LöveJIT be a part of official LÖVE builds in the future?
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Re: LoveJIT
At the moment, LuaJIT is beta software. So no "official" LÖVE builds will use LuaJIT for the time being.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: LoveJIT
That's disappointing, the LuaJIT beta is more stable than many other software projects marked as "stable".
LuaJIT 1.x is not in beta, but it isn't as fast as LuaJIT 2 and it doesn't have the FFI. There would still be substantial improvements over regular Lua though.
LuaJIT 1.x is not in beta, but it isn't as fast as LuaJIT 2 and it doesn't have the FFI. There would still be substantial improvements over regular Lua though.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: LoveJIT
It's not just about stability, what about things like availability?
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: LoveJIT
LuaJIT has ARM support as well as support for nearly every desktop architecture besides OSX PPC, which should be phased out anyway.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: LoveJIT
Not that availability.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: LoveJIT
Then what? Are we forced to use the software dependency systems in Linux distributions? Because that's terrible design by them if we are.
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests