Learning to optimize with Assembly
- by niktehpui
I am a second year student of Computer Games Technology. I recently finished my first prototype of my "kind" of own pathfinder (that doesn't use A* instead a geometrical approach/pattern recognition, the pathfinder just needs the knowledge about the terrain that is in his view to make decisions, because I wanted an AI that could actually explore, if the terrain is already known, then it will walk the shortest way easily, because the pathfinder has a memory of nodes).
Anyway my question is more general:
How do I start optimizing algorithms/loops/for_each/etc. using Assembly, although general tips are welcome.
I am specifically looking for good books, because it is really hard to find good books on this topic. There are some small articles out there like this one, but still isn't enough knowledge to optimize an algorithm/game...
I hope there is a modern good book out there, that I just couldn't find...