9.17.2011

Dimension track macros

May sound a bit weird as a title, but I got around "pseudo perfecting" some macros I had laying around to more efficiently calculate n-dimensional array indices and merging multiple "for" loops into a single pair of nested loops. Combined together, they make up a really useful set for advanced and more complex array tracking algorithms. It sure requires to know how those many macros parameters work, but in essence it's faster and equally efficient as a similar "for" loop construct, possibly beeing smaller in code size if it won't get unrolled. However, my many, many written routines for drawing and rendering stuff on screen as well as tracking level data arrays and so on make be believe that this is more than a key to further awesomeness. It already is awesome! Ok, dumb joke. Whatever. Now it's time to take a look at shape-tracing macros.

No comments: