- 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 {$).
推薦閱讀
- Arduino入門基礎(chǔ)教程
- Cortex-M3 + μC/OS-II嵌入式系統(tǒng)開發(fā)入門與應(yīng)用
- 龍芯應(yīng)用開發(fā)標(biāo)準(zhǔn)教程
- Applied Unsupervised Learning with R
- Manage Partitions with GParted How-to
- micro:bit魔法修煉之Mpython初體驗
- 從零開始學(xué)51單片機(jī)C語言
- Learning Stencyl 3.x Game Development Beginner's Guide
- 微軟互聯(lián)網(wǎng)信息服務(wù)(IIS)最佳實(shí)踐 (微軟技術(shù)開發(fā)者叢書)
- Visual Media Processing Using Matlab Beginner's Guide
- STM32嵌入式技術(shù)應(yīng)用開發(fā)全案例實(shí)踐
- Creating Flat Design Websites
- WebGL Hotshot
- 微服務(wù)實(shí)戰(zhàn)(Dubbox +Spring Boot+Docker)
- FPGA實(shí)戰(zhàn)訓(xùn)練精粹