Posts: 681
Threads: 26
Joined: May 2014
Thanks: 112
Given 48 thank(s) in 37 post(s)
WOW! This is just awesome!
Posts: 681
Threads: 26
Joined: May 2014
Thanks: 112
Given 48 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,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 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,634
Threads: 115
Joined: Dec 2011
Thanks: 695
Given 495 thank(s) in 424 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: 2
Given 73 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: 112
Given 48 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.