Is it appreciably more efficient to create an NSMutableDictionary
using a constructor
[NSMutableDictionary dictionaryWithObjectsAndKeys:@"object1", @"key1", @2, @"key2", nil];
than taking the mutable copy of a literal
[@{@"key1":@"object1", @"key2":@2} mutableCopy];
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…