- 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 {$).
推薦閱讀
- 數字道路技術架構與建設指南
- Mastering Manga Studio 5
- STM32嵌入式技術應用開發全案例實踐
- 計算機組裝維修與外設配置(高等職業院校教改示范教材·計算機系列)
- 單片機系統設計與開發教程
- 基于PROTEUS的電路設計、仿真與制板
- 單片機原理及應用:基于C51+Proteus仿真
- Python Machine Learning Blueprints
- Spring Cloud實戰
- 微服務實戰(Dubbox +Spring Boot+Docker)
- 計算機組裝、維護與維修項目教程
- Advanced Machine Learning with R
- 分布式存儲系統:核心技術、系統實現與Go項目實戰
- The Machine Learning Workshop
- FPGA進階開發與實踐