Differences From Artifact [b2cd72f318]:
- File
src/OFMutableArray.m
— part of check-in
[1255f3a11a]
at
2012-08-10 20:08:24
on branch trunk
— Directly use the runtime's autorelease pools.
This greatly improves performance, as it gets rid of the overhead of
OFAutoreleasePool. (user: js, size: 7108) [annotate] [blame] [check-ins using]
To Artifact [b32d8ba01b]:
- File src/OFMutableArray.m — part of check-in [c9433ea60d] at 2012-10-14 00:54:58 on branch trunk — range.start -> range.location. (user: js, size: 7111) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
292 293 294 295 296 297 298 | } - (void)removeObjectsInRange: (of_range_t)range { size_t i; for (i = 0; i < range.length; i++) | | | 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 | } - (void)removeObjectsInRange: (of_range_t)range { size_t i; for (i = 0; i < range.length; i++) [self removeObjectAtIndex: range.location]; } - (void)removeLastObject { size_t count = [self count]; if (count > 0) |
︙ | ︙ |