Skip to content

Instantly share code, notes, and snippets.

@owensd
Created June 5, 2014 04:44
Embed
What would you like to do?
- (void)testAppendInt
{
NSMutableArray *array = [[NSMutableArray alloc] init];
[self measureBlock:^{
for (int i = 0; i < 1000000; ++i) {
[array addObject:@(i)];
}
}];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment