Code optimization principles, when and where to optimize, profiling tools, local and global optimizations, register usage, caching, and locality of reference.