- Mastering Delphi Programming:A Complete Reference Guide
- Primo? Gabrijel?i?
- 117字
- 2021-06-24 12:33:36
Simple types
Let's start with simple types, as their implementation is indeed simple. Simple types don't allocate any memory. They are either stored as part of structured types (classes, records and so on), on the stack (local variables of such types) or in the part of a process memory (global variables of such types). Because of that, all operations with them are very fast.
To initialize the variable of a simple type, the compiler just has to move a few bytes around. The same goes for modifying the variable or copying one variable into another. (Fields behave just the same as variables for all Delphi data types so in the future I'll just talk about variables.)
推薦閱讀
- 新媒體跨界交互設(shè)計
- 計算機(jī)組裝與系統(tǒng)配置
- 精選單片機(jī)設(shè)計與制作30例(第2版)
- Mastering Manga Studio 5
- The Deep Learning with Keras Workshop
- 計算機(jī)組裝與維護(hù)(第3版)
- Arduino BLINK Blueprints
- 計算機(jī)組裝維修與外設(shè)配置(高等職業(yè)院校教改示范教材·計算機(jī)系列)
- Source SDK Game Development Essentials
- 數(shù)字媒體專業(yè)英語(第2版)
- Building Machine Learning Systems with Python
- FPGA實戰(zhàn)訓(xùn)練精粹
- 計算機(jī)組成技術(shù)教程
- Service Mesh微服務(wù)架構(gòu)設(shè)計
- 微服務(wù)架構(gòu)實戰(zhàn):基于Spring Boot、Spring Cloud、Docker