Geeks With Blogs

News

Google My Blog

Catch me at: The List!


My InstallScript Utility Belt My Amazon Wishlist
My Standard Disclaimer


Archives
Chris G. Williams Beware: I mix tech and personal interests here.

The way you access your array data can have a big impact on how efficiently your CPU cache does it's job (which, in turn, affects your game/app performance).

http://www.geekswithblogs.net/cwilliams/articles/27363.aspx Posted on Saturday, March 26, 2005 6:16 PM Game Development | Back to top



Comments on this post: Accessing your 3D array in a cache friendly manner

# re: Accessing your 3D array in a cache friendly manner
Requesting Gravatar...
Great info! The performance difference can only get more noticible as the size increases also. I'd be curious to see how the performance difference changes as the array size changes (e.g. 10x10x10, 100x100x100, 1000x1000x1000).
Left by Paul Pearce on Mar 26, 2005 8:31 PM

# re: Accessing your 3D array in a cache friendly manner
Requesting Gravatar...
Thanks! Also, I haven't tried it with additional dimensions, which would also likely compound the performance issues.

Then again, I can't even visualize 4 dimensions, much less 5 or 6. I'm not sure I'd ever have a data model that required that.
Left by chris on Mar 27, 2005 6:57 AM

Your comment:
 (will show your gravatar)


Copyright © Chris G. Williams | Powered by: GeeksWithBlogs.net