CS 3304: Comparative Languages
Data Types
[
Course Documents
] : [
Data Types
]
Previous
Contents
Next
Keyword Index
Comparing Records and Arrays
Access to array elements is slower than access to record fields, because subscripts are dynamic (field names are static)
Dynamic subscripts could be used with record field access, but it would disallow type checking and be much slower