Menu
332 players are currently having fun. Join Them!
Tools & Stats
News
April 16, 2025
December 15, 2024
December 15, 2024
April 16, 2024
December 15, 2023
User login
Players Blogs
Recent comments
2 days 5 hours ago
4 days 17 hours ago
4 days 19 hours ago
4 days 22 hours ago
1 week 1 hour ago

Using http://sourceforge.net/p/safelua/wiki/LuaJIT%20binaries/ since I'm a lowly windows user and amateur modder :)
Respective times: 0.015, 0.094, 0.093, 0.469, 0.279, 0.015
Analysis: about ten times faster with JIT in general, but only 5x faster with math.sin; difference between math.sqrt and ^0.5 disappears; comparison of number and string act the same, fluctuate between 0 and 0.32
So, rough rule, you get ten times as many instructions with JIT :)
edit: oh, and no longer a fresh boot, which probably matters; i have little doubt that I am part of multiple botnets since I'm the kind of guy that just downloads binaries instead of compiling from source :)
Looking at the number of brutally basic instructions in the first loop, and doing a little math, it appears that I'm processing about 2.6 billion instructions per second with Lua JIT. Which makes sense, since I'm running a 2.6gHz processor, I'm just surprised to see perfect efficiency. 0.016 appears to be the limit of precision returned from os.clock()-- that's about a 60th of a second, so that's a good amount of precision.
Rule number 1 of optimization: Premature optimization is the root of all evil :)
Oh and ToME uses luajit2 already
math.randomseed(1234); local time = os.clock(); local p; for i=1, 10^7 do p = math.sin(math.random()*math.pi*2) end; print(os.clock()-time)
0.766
math.randomseed(1234); local sintable = {};local sin = function(x) if not sintable[x] then sintable[x] = math.sin(x) end
return sintable[x] end; local time = os.clock(); local p; for i=1, 10^7 do p = sin(math.random()*math.pi*2) end; print(os.clock()-time)
7.36
Conclusion: random is too good, we're not memoizing anything :)
math.randomseed(1234); local time = os.clock(); local p; for i=1, 10^7 do a = 360*math.floor(math.random()*math.pi*2*360);p = math.sin(a) end; print(os.clock()-time)
0.9529
math.randomseed(1234); local sintable = {};local sin = function(x) if not sintable[x] then sintable[x] = math.sin(x) end return sintable[x] end
local time = os.clock(); local p; for i=1, 10^7 do a = 360*math.floor(math.random()*math.pi*2*360);p = sin(a) end;print(os.clock()-time)
0.922
Conclusion: don't bother memoizing sin tables, not worth it.
See title.
LuaJIT is your friend (regarding performance), DarkGod. :)
A permanent artifact across characters of this power is sure to imbalance the game.
I took the time to dig out every single mine-able wall, and no dice. The missing mob seems to have straight up disappeared.
appears to be working, loads to character select screen.
I'm not totally sure, but I believe I've just fixed your problem in a new version. Can you post on the forum thread if you have further problems? Easier to get details there. (It's a very high priority for me to fix any problems, but sometimes I need more info to do it right.)
This artifact gives me a vision of the future.... It is DarkGod... He is tied to a pole... being stoned... by *spoiler*...
The future NEVER lies.
Good event, Kudos on being clever!
standard graphical
Are you, by any chance, using Classic UI?
completely bugged under 1.0.1
Wont run.
Without a solid way(talent) of lower equilibrium, the EQ based talents are a waste....the heal/devour simply dont return enough equilibrium.
Am i missing something??
I'd like to see this powerful artefact in the regular store. 1000g is a good price.
update for new version??
Hello Housepet!!!! Excellent work, i think this class may be worthy of inclusion in the base game....Darkgod?:)
Hey umm....in Druid Class Beta 2, could you change Water spout and Bolts from the Blue to *NOT* hit your own character? Particularly with Bolts from the blue...to hit yourself and get an auto daze is pretty much GG post 30. I havent tested everything out but skills that cause you to hit yourself at random are umm...bad:)
Also, DG may not like a class with AM base, as it somewhat short circuits the Whole Zigur line.
Could you replace AM with something like a Shape changing skill set??(Wildshaper).
Deleted as I've found how to edit.
Does anyone know if Shiny Loot supports paying through iDeal?
Waiting to see it on Steam though. Donated through the site already. Is there cosmetic value for also getting it from shinyloot? :) Else rather keep the dona train running here.
This minion is having great fun.
The addon hasn't been updated for newer versions of the game (notice it says it's for b43) and is thus considered incompatible by the game. To find out if it actually is incompatible would require having a look at the code.
Well written and detailed,i am positive this will help people play those (sometimes frustrating)brawlers!
I tried this a few times. I put it in the add-ons section, and opened the game, but it wasn't on the add-ons list there. This add-on sounds pretty cool, I would like to play it.
At least I can claim 1 month of it, and it's 1 month I will never regret.
There [s]is[/s] was no comment here.
The 200 year prohibition must end!