Differences From Artifact [e3c5e67130]:
- File src/OFArray.m — part of check-in [0a6e073938] at 2011-02-07 19:22:19 on branch trunk — Add -[containsObject(IdenticalTo):] to OFCollection. (user: js, size: 9008) [annotate] [blame] [check-ins using]
To Artifact [5597d30fef]:
- File src/OFArray.m — part of check-in [06f539766f] at 2011-02-26 19:40:50 on branch trunk — Use class swizzling as an optimization. (user: js, size: 9505) [annotate] [blame] [check-ins using]
︙ | |||
332 333 334 335 336 337 338 339 340 341 342 343 344 345 | 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 | + + + + + + | [pool releaseObjects]; } append(str, @selector(appendString:), [objs[i] description]); [pool release]; /* * Class swizzle the string to be immutable. We declared the return type * to be OFString*, so it can't be modified anyway. But not swizzling it * would create a real copy each time -[copy] is called. */ str->isa = [OFString class]; return str; } - (BOOL)isEqual: (id)obj { id *objs, *objs2; size_t i, count, count2; |
︙ | |||
397 398 399 400 401 402 403 | 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 | - + + + + + + + + + | [ret appendString: @")"]; } @catch (id e) { [ret release]; } [pool release]; |
︙ |