Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 07.06.2007, 21:58   #11
Freeman
Архивный участник
 
Join Date: Jul 2006
Posts: 39
Default

[quote=zcold;87882]hey all!
myself.AddTimerEx(1001, 10 * 60 * 1000);

If you are still curious… Try to measure how much “processor time” it will cost to execute push_const one million times and to execute “9 thousands of add/sub/mul/div” one million times… divide the difference by one million back and post results here =)2nd thing… for example, usually, I edit ai.obj file directly and when I’m finished to create of to fix something, I decompile full version of a file… or when I modified the decompiler, I also need to re-decompile full version of ai.obj. In some time I try to see some_class.txt and see thee optimized version AddTimerEx(1001, 7800000) or not optimizer AddTimerEx(1001, 130 * 60 * 1000). How much time will it take for a human to de-calculate 7800000 into 130 seconds.. and I’ll be forced to by myself to do it each time I read any of 3k+ file of classes.I preferred to optimize my work and leave for server CPU “more work”…p.s. don’t beat me, it’s only my point of view by now)
Freeman is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:17.