处理器用于优化代码的一些技巧是什么?

处理器用于优化代码的一些技巧是什么?

问题描述:

我正在寻找诸如重新排序代码之类的东西,如果使用多处理器,它们甚至可能破坏代码.

I am looking for things like reordering of code that could even break the code in the case of a multiple processor.

Wikipedia有相当全面的优化技术列表

Wikipedia has a fairly comprehensive list of optimization techniques here.