Efficiency of iteration: NSArray vs C array of pointers?

Posted by morgancodes on Stack Overflow See other posts from Stack Overflow or by morgancodes
Published on 2010-03-13T23:26:12Z Indexed on 2010/03/13 23:35 UTC
Read the original article Hit count: 301

Filed under:
|
|

I'm working at the audio buffer level, mixing audio signals created by a colleciton of objects. Since I'm looping through these objects at 44.1khz, efficiency is crucial. Is there any difference in the efficiency of iterating over an NSArray vs a C array of pointers? How about NSMutableArray?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa