I've been programming C/C++ for 20 years but I'm new to objective-c and Coco and have some questions about the performance of NSMutableArray and NSArray.
I need an container much like the stl list container, but coco doesn't seem to have one and inserting and removing elements from the middle of MSMutableArray seems slow, but treating it like a stl vector isn't that fast either.
Also, MSMutableArray seems to only store Objects, so keep tracking of a simple data type line int or float incurs additional overhead of creating Objects to store them in.
I'm currently writing a game and performance is critical. I can always drop into C++ for the guts of my game engine, but there is so much about objective-c that I like and I'd hate to abandon it.
Are there fast stl like containers for objective-c that I should be using?
Is there any good online documentation about how these are implemented so I can try and figure put why performance is so slow?
Thanks!