Differences From Artifact [65a1f72f30]:
- File
src/OFXMLCDATA.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: 2483) [annotate] [blame] [check-ins using]
To Artifact [ee012736ca]:
- File src/OFXMLCDATA.m — part of check-in [fb515e8e24] at 2012-10-09 15:07:30 on branch trunk — Make use of instancetype. (user: js, size: 2497) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
21 22 23 24 25 26 27 | #import "OFXMLElement.h" #import "OFInvalidArgumentException.h" #import "autorelease.h" @implementation OFXMLCDATA | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #import "OFXMLElement.h" #import "OFInvalidArgumentException.h" #import "autorelease.h" @implementation OFXMLCDATA + (instancetype)CDATAWithString: (OFString*)string { return [[[self alloc] initWithString: string] autorelease]; } - initWithString: (OFString*)string { self = [super init]; |
︙ | ︙ |