-
cpu usage on servers
think i should make all the drops, npc commands, ... case sensitive?
this should reduce cpu usage on the files (although i cant predict how much reduction but well lets say that having a line of code case insensitive like everything is now takes 5times more cpu time then having it case sensitive)
obviously this might look like a great thing but it's not like it's being done non stop
but for things like drops, npc commands, gm commands, ... i feel that it could really make a rather big difference (especialy on servers with alot of npc's, mobs in their db, items in their db ect)
another something that would really improve server performance would be if hosts didnt fill their db's with tons of unused items and mobs cause generaly even unused items and mobs drain the cpu quite a bit, the bigger the mob, item db the more time it takes to go through it when the server has to search for a specific mob or item
-
Re: cpu usage on servers
im all up for that, will take a while to redo all drops lol but what they hey, if it causes less resources nice 1
could you also take things out like, unmarry, unmaster etc from envir, thats not used i dont think, dunno if even any are coded lol
also the likes of m2server, it saves connectionlog, can log data server not do this instead, or use loginsrv to do that or summit?
VirUs