Skip to content

Commit

Permalink
add optimization translation
Browse files Browse the repository at this point in the history
  • Loading branch information
dabing1022 committed Jan 11, 2015
1 parent d1d530a commit f7dace2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion 06-Optimization Patterns.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
Optimization Patterns
优化模式
============================

随着硬件的越来越快,大部分软件不用再担心性能问题,但游戏是少数剩余中的一个例外。玩家总是希望更丰富,更逼真和令人兴奋的体验。各种各样的游戏充斥着屏幕吸引着玩家的注意力和金钱!而通常赢的就是那些将硬件性能发挥到很不错的游戏。

性能优化是一门很深的艺术,它涉及到了软件的各个方面。底层编码人员掌握着硬件架构的无数特性,同时,算法研究者用数学来证明程序的高效性。

在这一章节中,我列举了一些经常用来优化加速游戏的几个中层模式。[局部性数据](06.1-Data Locality.md)向您介绍了现代计算机的存储层次以及如何利用它的优势。[脏标记模式]((06.2-Dirty Flag.md))帮助您避免不必要的计算,而[对象池](06.3-Object Pool.md)帮助您避免不必要的内存分配。[空间分区](06.4-Spatial Partition.md)会加快虚拟世界和其中元素的空间布局。

# 本章模式
- [数据局部性](06.1-Data Locality.md)
- [脏标记](06.2-Dirty Flag.md)
- [对象池](06.3-Object Pool.md)
- [空间分区](06.4-Spatial Partition.md)

0 comments on commit f7dace2

Please sign in to comment.