- Mastering Delphi Programming:A Complete Reference Guide
- Primo? Gabrijel?i?
- 137字
- 2021-06-24 12:33:33
Delphi compiler settings
First things first—before you start meddling with the code, you should check the Delphi compiler settings for your project. In some situations, they can affect the code speed quite a lot.
To check and possibly change compiler settings, open your project, then select Project | Options from the menu or press Ctrl + Shift + F11. Relevant options can be found in the branch Delphi Compiler | Compiling, as shown in the following screenshot here:

Compiler settings that influence program speed
We will look into the following options:
- Code inlining control
- Optimization
- Record field alignment
- Assertions
- Overflow checking
- Range checking
All of these settings can be enabled/disabled for the complete project and they can also be turned on/off in the code by using compiler directives (comments that start with {$).
推薦閱讀
- Learning AngularJS Animations
- Python GUI Programming:A Complete Reference Guide
- SDL Game Development
- Effective STL中文版:50條有效使用STL的經驗(雙色)
- 硬件產品經理手冊:手把手構建智能硬件產品
- 單片機原理及應用系統設計
- Learning Stencyl 3.x Game Development Beginner's Guide
- Learning Game Physics with Bullet Physics and OpenGL
- VCD、DVD原理與維修
- 電腦高級維修及故障排除實戰
- 面向對象分析與設計(第3版)(修訂版)
- Building 3D Models with modo 701
- 數字媒體專業英語(第2版)
- Spring Security 3.x Cookbook
- Intel FPGA權威設計指南:基于Quartus Prime Pro 19集成開發環境