Hierarchical Tables (cont.)
For producers:
- Instead of storing indices, share the object in the Table with the object that aggregates them
- The problem with this is that the original “indexing” information becomes harder to recreate (if needed)
-
-
For consumers:
- Don’t use the “direct attachment” option for iterators when dealing with large tables
- Instead, retrieve all the components of the Table in one swoop and keep it in an array in memory, then do the indexing yourself
- Obvious limitation is that more memory will be required (the famous memory vs. speed trade off …)