Differences From Artifact [d01c44316b]:
- File src/OFArray.m — part of check-in [0a4565fb0f] at 2017-11-05 18:25:38 on branch trunk — Use -[isMemberOfClass:] instead of object_getClass (user: js, size: 18844) [annotate] [blame] [check-ins using]
To Artifact [645bd4495c]:
- File src/OFArray.m — part of check-in [526feacebc] at 2017-11-11 23:27:09 on branch trunk — Small optimization for -[isEqual:] (user: js, size: 18881) [annotate] [blame] [check-ins using]
︙ | |||
506 507 508 509 510 511 512 513 514 515 516 517 518 519 | 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 | + + + | } - (bool)isEqual: (id)object { /* FIXME: Optimize (for example, buffer of 16 for each) */ OFArray *otherArray; size_t count; if (object == self) return true; if (![object isKindOfClass: [OFArray class]]) return false; otherArray = object; count = [self count]; |
︙ |