Thread history
Viewing a history listing
Time | User | Activity | Comment |
---|---|---|---|
04:20, 17 February 2013 | Skotty (talk | contribs) | New thread created | |
04:22, 17 February 2013 | Voidious (talk | contribs) | New reply created | (Reply to Fast Math) |
04:38, 17 February 2013 | MN (talk | contribs) | New reply created | (Reply to Fast Math) |
05:18, 17 February 2013 | Skotty (talk | contribs) | New reply created | (Reply to Fast Math) |
Anyone know where to find the fast math pages/discussions? I did a search on "fast math" and couldn't find it. I know there was a number of places where alternate code for doing various trig functions was discussed, but I can't find them now.
I think it's User:Rednaxela/FastTrig.
(I didn't really notice any speed improvement when I tried adding it to Diamond, so I removed it, but maybe I screwed up or it would help other bots more.)
With Combat, profiling said all trigonometry added together were consuming about 8% CPU time. Dropped to less than 3% after fast math classes were added. Not too much of an improvement, but it was an improvement.
Thank you. I may give it a go. In the meantime, I've figured out how to make a few significant improvements that reduce the number of trig functions used. In particular, I have a method in my robot predictor that calculates sin and cos for every predicted robot movement; revising it to only recalculate sin and cos when heading changes actually made a significant improvement.