深入理解计算机系统阅读笔记-优化程序性能
2008-10-29 16:07
1006 查看
1。memory aliasing problem
void t(int *x, int *y)
{
*x += *y;
*x += *y;
}
void t2(int *x, int *y)
{
*x += 2* *y;
}
point the differ of the two functions. why function t can't be optimized to function t2 ?
void t(int *x, int *y)
{
*x += *y;
*x += *y;
}
void t2(int *x, int *y)
{
*x += 2* *y;
}
point the differ of the two functions. why function t can't be optimized to function t2 ?
相关文章推荐
- 5、深入理解计算机系统笔记:优化程序性能
- 深入理解计算机系统学习笔记(二)之程序优化
- 深入理解计算机系统 perflab 程序性能优化实验
- 深入理解计算机系统--优化程序性能
- 深入理解计算机系统(5.1)------优化程序性能
- 优化程序性能 计算机系统结构 深入理解计算机系统
- 《深入理解计算机系统 第3版》学习笔记——第5章 优化程序性能(程序优化方法总结)
- 深入理解计算机系统之旅(五)优化程序性能
- 深入理解计算机系统:优化程序性能
- 深入理解计算机系统:优化程序性能
- 深入理解计算机系统之旅(五)优化程序性能
- 程序性能优化-深入理解计算机系统
- 深入理解计算机系统——第05章——优化程序性能
- [读书笔记]深入理解计算机系统 第6章 优化程序性能
- 深入理解计算机系统:程序性能优化
- cs app深入理解计算机系统:第五章 优化程序性能 几个优化的java实现
- 深入理解计算机系统(笔记):程序的机器级表示
- 深入理解计算机系统的阅读笔记
- 18、深入理解计算机系统笔记:测量程序执行时间
- 深入理解计算机系统第五章学习-性能优化 1