VBA: Iteration speed of variant array vs. typed array vs. non-keyed collection
My project requires a bunch of dynamically-resizable arrays for different objects. An array may hold any number of objects, potentially thousands, of a single class, but not objects of multiple classes. Mostly I will be iterating through arrays, thus use of a keyed collection is not ideal. I think I have two options: The first option is to develop a 'List' class for each object type, with methods for adding objects (and expanding the array), getting the First and Last indexes and the object count, and retrieving an object by index (the latter 4 will include error handling in case the array is