Catalog · How the catalog works
QueryFieldAccessors
Benchmark on performance of different Qurry Field Accessors in Delphi
- ★ 4 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
Query Field Accessors
“The trouble with old men is they remember so many things that ain’t so.”
-Mark Twain
Here 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?
- FieldByName
- FieldByNumber
- Hard coded field names
- Local references to each field
- Something else?
Everyone knows FieldByName is way too slow, right?
Here is your chance to find out...


