Profiling!


I decided last night to do some profiling. It is always quite fun actually, since what you find is that CPU is getting sucked away in places you would never have expected. In particular, the cloud algorithm seems to be #1 right now; that will have to change. The #2 time user was actually something in the AI that scans for threats, that was fairly easily fixed/optimized. There are other misc things that can be improved there, but for now I'm going to fix the cloud algorithm. The organics algorithm is very, very efficient and I can rework parts of the cloud algorithm to use some of those same techniques. In the end, it should drop quite low...

2005-01-03


◀ Back