Posts: 681
Threads: 26
Joined: May 2014
Thanks: 0
Given 8 thank(s) in 37 post(s)
WOW! This is just awesome!
Posts: 681
Threads: 26
Joined: May 2014
Thanks: 0
Given 8 thank(s) in 37 post(s)
Might there be way to compile this into the project and ship it within the MCServer binary? ATM I have to install luajit.
Posts: 6,486
Threads: 176
Joined: Jan 2012
Thanks: 40
Given 156 thank(s) in 838 post(s)
I was wondering if the speed increase from LuaJIT was anything noticable in the "regular use cases" - not something as synthetic as sending 10k messages, but normal gameplay. I don't think it's a bottleneck, but if it becomes something worthwhile, we might want to look at integrating LuaJIT in the base repo.
Posts: 4,621
Threads: 113
Joined: Dec 2011
Thanks: 51
Given 55 thank(s) in 409 post(s)
Good point. It might also be worth checking if a Lua world generator is faster in LuaJIT. As far as I know the only Lua generator we currently have is my FloatingIsland plugin.
Posts: 783
Threads: 12
Joined: Jan 2014
Thanks: 0
Given 4 thank(s) in 61 post(s)
Can you post the changes needed. We might be able to make a less hacky version.
Posts: 681
Threads: 26
Joined: May 2014
Thanks: 0
Given 8 thank(s) in 37 post(s)
It would be awesome having this in the main repo! Many of my friends tell me that bigger plugins aren't that fast on MCServer and a big German Minecraft community is most likely going to switch to MCServer soon.