以下代码段中的 Parsing 有什么区别。哪些代码段在解析中更快?
NSArray *arr = [[NSArray alloc] initWithObjects:@"Apple",@"Macbook", nil];
NSMutableArray *data = (NSMutableArray *)arr;
(和)
NSArray *arr = [[NSArray alloc] initWithObjects:@"Apple",@"Macbook", nil];
NSMutableArray *data = [NSMutableArray arrayWithArray:arr];