Boost
June 21st, 2007 | Programming Tips | Alex J. Champandard
Using the most basic type of memory pooling can improve the performance of your AI engine dramatically. However, your memory usage may not be optimal at first if you have one big memory pool.
Problems arise when pooling AI tasks because of the following:
All tasks are different and they have various sizes in […]
June 19th, 2007 | Programming Tips | Alex J. Champandard
With many task hierarchies running in parallel, it can be impossible or undesirable to store everything in memory. It may be faster to allocate all the memory upfront for small trees, but in practice a lazy approach is better. However, because many tasks need their own custom memory (of different type and size), this policy causes lots of small memory allocations.