Consider the many thousands of NSStringobjects in memory.
What is the most effective way to search for a specific NSStringin a set? Can I use it NSDictionary? Or is it guaranteed that the search NSSetis O (1) (could not find documentation that says so)?
And is the same strategy applicable to objects NSData?
source
share