[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)
|