Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

五、优化模式

Optimization Patterns

游戏必须跑满 60 帧。本部分介绍在不牺牲代码可读性的前提下,如何通过巧妙的设计提升运行时性能。