Agner`s CPU blog

Software optimization resources | E-mail subscription to this blog | www.agner.org

Optimization manuals updated
Author: Agner Fog Date: 2009-09-29 01:47
You are right that cache use is difficult to optimize.
The _alloca method is described in chapter 8.6 "Dynamic memory allocation" of my C++ manual. I can recommend this method where it is possible. I have made some examples of container classes that use contiguous memory in order to optimize cache use. You can find them in www.agner.org/optimize/cppexamples.zip. These container classes are useful as an alternative to the standard template library (STL).
 
thread Optimization manuals updated new - Agner Fog - 2009-09-27
replythread Optimization manuals updated new - Marko Rekston - 2009-09-28
reply Optimization manuals updated - Agner Fog - 2009-09-29
last replythread Optimization manuals updated new - Mohamed Sheikhaldeen - 2009-10-02
last reply Optimization manuals updated new - Agner Fog - 2009-10-02
replythread Optimization manuals updated new - Giovanni - 2009-12-06
last reply Optimization manuals updated new - Agner Fog - 2009-12-06
reply Optimization manuals updated new - Agner Fog - 2010-02-16
reply Optimization manuals updated new - Agner Fog - 2010-09-25
reply Optimization manuals updated - Bobcat tested new - Agner - 2011-06-08
last reply Optimization manuals updated new - Agner - 2012-03-02