- Delphi High Performance
- Primo? Gabrijelcic
- 137字
- 2021-06-24 19:23:03
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 {$).
推薦閱讀
- 漫話大數(shù)據(jù)
- Test-Driven Development with Mockito
- 商業(yè)分析思維與實踐:用數(shù)據(jù)分析解決商業(yè)問題
- 算法與數(shù)據(jù)中臺:基于Google、Facebook與微博實踐
- Learn Unity ML-Agents:Fundamentals of Unity Machine Learning
- Python金融數(shù)據(jù)分析(原書第2版)
- Apache Kylin權威指南
- 科研統(tǒng)計思維與方法:SPSS實戰(zhàn)
- 視覺大數(shù)據(jù)智能分析算法實戰(zhàn)
- Oracle數(shù)據(jù)庫管理、開發(fā)與實踐
- 大數(shù)據(jù)分析:數(shù)據(jù)倉庫項目實戰(zhàn)
- SQL Server 2012實施與管理實戰(zhàn)指南
- Spring Boot 2.0 Cookbook(Second Edition)
- 數(shù)據(jù)中心經營之道
- Artificial Intelligence for Big Data