- 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 {$).
推薦閱讀
- 云數據中心基礎
- Hadoop與大數據挖掘(第2版)
- SQL查詢:從入門到實踐(第4版)
- Learn Unity ML-Agents:Fundamentals of Unity Machine Learning
- Python數據分析:基于Plotly的動態可視化繪圖
- 深度剖析Hadoop HDFS
- Proxmox VE超融合集群實踐真傳
- 大數據技術入門
- INSTANT Apple iBooks How-to
- 數據庫應用系統開發實例
- MySQL DBA修煉之道
- MySQL數據庫技術與應用
- Configuration Management with Chef-Solo
- Managing Software Requirements the Agile Way
- 一本書讀懂區塊鏈(第2版)