Differences From Artifact [b015e271e1]:
- File src/OFMutableString.h — part of check-in [7c66260ead] at 2011-07-08 20:13:39 on branch trunk — Rename -[deleteLeadingAndTrailingWhitespaces]. (user: js, size: 5900) [annotate] [blame] [check-ins using]
To Artifact [903f2cd12d]:
- File
src/OFMutableString.h
— part of check-in
[36e8a94f34]
at
2011-07-09 14:45:44
on branch trunk
— Cache the length of a string.
Also removes -[appendCStringWithoutUTF8Checking:] as it is dangerous and
not compatible with this optimization. (user: js, size: 5101) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
55 56 57 58 59 60 61 | * \param encoding The encoding of the C string * \param cStringLength The length of the UTF-8 encoded C string */ - (void)appendCString: (const char*)cString withEncoding: (of_string_encoding_t)encoding length: (size_t)cStringLength; | < < < < < < < < < < < < < < < < < < < < < < < < | 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | * \param encoding The encoding of the C string * \param cStringLength The length of the UTF-8 encoded C string */ - (void)appendCString: (const char*)cString withEncoding: (of_string_encoding_t)encoding length: (size_t)cStringLength; /** * \brief Appends another OFString to the OFMutableString. * * \param string An OFString to append */ - (void)appendString: (OFString*)string; |
︙ | ︙ |