I’m creating an application for iPhone which needs to handle large data.
So, I would like to know which one will be better to use : C++ Vectors or ObjectiveC’s NSMutableArray?
Which one will be faster to access elements, delete elements, add elements etc.
Can some one guide me please?
I’m creating an application for iPhone which needs to handle large data. So, I
Share
Both will work similarly as far as performance goes. If you’re storing Objective-C objects, you should use an
NSMutableArray, but if you’re storing anything else and need top performance, you may want to use astd::vector.