STL performance in iOS
I really like STL because of its simple syntax and its flexibility. Sometimes usage of开发者_JAVA技巧 STL is a must because Foundation array and dictionary cannot contain non-object. So, what I want to know are:
- Is there any performance penalty of STL in iOS ?
- Has anyone compared the performance between STL containers and the corresponding Foundation classes ?
Thanks
STL should work well on iOS, and normally it will be substantially faster than Foundation classes.
精彩评论