The best way to remove duplicate values from NSMutableArray in Objective-C?ãè¦ã¦ããã¤ãã®æ¹æ³ããã£ã¦çµå±ã©ããã¯ããã®ããã¾ãã¡åãããªãã£ãã®ã§ãã³ããã¨ã£ãã話ã çµæã¯ä»¥ä¸ã®ã¨ããã å1000åã«ã¼ããã¾ãããæé(1åãããã®æé)ã§ãã è¦ç´ æ° NSet indexOfObject:inRange: containsObject NSOrderdSet indexOfObject:inRange: (inside logic addObject) 100 0.006651(0.000007) 0.096725(0.000097) 0.038473(0.000038) 0.013968(0.000014) 0.042821(0.000043) 400 0.023441(0.000023) 0.44022
{{#tags}}- {{label}}
{{/tags}}