- 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.)
推薦閱讀
- Learning AngularJS Animations
- Applied Unsupervised Learning with R
- Mastering Delphi Programming:A Complete Reference Guide
- 嵌入式技術(shù)基礎(chǔ)與實(shí)踐(第5版)
- 基于ARM的嵌入式系統(tǒng)和物聯(lián)網(wǎng)開發(fā)
- Unity 5.x Game Development Blueprints
- Large Scale Machine Learning with Python
- VCD、DVD原理與維修
- 計(jì)算機(jī)組裝與維護(hù)(第3版)
- 筆記本電腦應(yīng)用技巧
- 面向?qū)ο蠓治雠c設(shè)計(jì)(第3版)(修訂版)
- 基于Proteus仿真的51單片機(jī)應(yīng)用
- Spring Cloud微服務(wù)和分布式系統(tǒng)實(shí)踐
- 單片機(jī)技術(shù)及應(yīng)用
- Arduino項(xiàng)目開發(fā):智能生活