I have an NSMutableArray that I display through a table view. The problem is that when I add objects to this array, I don't want to have duplicates.
If I create an NSMutableSet from the NSMutableArray, then add objects to the NSMutableSet and then convert it back to an NSMutableArray, is that any more efficient than checking the NSMutableArray through a loop for duplicates before adding an item?