In my last installment, we added the ability to create new steering behaviors to Bayts using the Lua scripting language. Unfortunately, the resulting implementation was horribly slow. So today we’ll explore using a very important tool: the profiler. For this article, I’ll be using Shark, Apple’s free profiler. These techniques apply just as well to profilers on other platforms. Read more