https://github.com/jimmckeeth/queryfieldaccessors
Benchmark on performance of different Qurry Field Accessors in Delphi
https://github.com/jimmckeeth/queryfieldaccessors
Last synced: 3 months ago
JSON representation
Benchmark on performance of different Qurry Field Accessors in Delphi
- Host: GitHub
- URL: https://github.com/jimmckeeth/queryfieldaccessors
- Owner: jimmckeeth
- License: mit
- Created: 2024-06-24T16:35:29.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-25T17:48:54.000Z (11 months ago)
- Last Synced: 2024-12-30T06:11:50.611Z (5 months ago)
- Language: Pascal
- Size: 194 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Query Field Accessors
> *“The trouble with old men is they remember so many things that ain’t so.”*
> -Mark TwainHere is a scenario you've faced before:
* **You need to loop through some TDataSet records. For each record you need to examine multiple fields.**
What is the best solution?
1. FieldByName
2. FieldByNumber
3. Hard coded field names
4. Local references to each field
5. *Something else?*
Everyone knows `FieldByName` is way too slow, right?*Here is your chance to find out...*
