- 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 SQL Server Reporting Services 2012
- 零點(diǎn)起飛學(xué)Xilinx FPG
- Python GUI Programming:A Complete Reference Guide
- 精選單片機(jī)設(shè)計(jì)與制作30例(第2版)
- 電腦軟硬件維修從入門到精通
- Hands-On Machine Learning with C#
- Practical Machine Learning with R
- 筆記本電腦應(yīng)用技巧
- 微型計(jì)算機(jī)系統(tǒng)原理及應(yīng)用:國產(chǎn)龍芯處理器的軟件和硬件集成(基礎(chǔ)篇)
- 筆記本電腦維修實(shí)踐教程
- Source SDK Game Development Essentials
- 單片機(jī)技術(shù)及應(yīng)用
- Spring Cloud實(shí)戰(zhàn)
- Arduino項(xiàng)目案例:游戲開發(fā)
- 微服務(wù)實(shí)戰(zhàn)