Differences From Artifact [ac1b639bcb]:
- File src/OFString.m — part of check-in [7d29241068] at 2011-04-25 22:54:37 on branch trunk — Actually, it's called charset in the header, not encoding. (user: js, size: 31750) [annotate] [blame] [check-ins using]
To Artifact [e3d5101e79]:
- File src/OFString.m — part of check-in [50a6d34eff] at 2011-04-27 16:14:39 on branch trunk — Small string optimization. (user: js, size: 31789) [annotate] [blame] [check-ins using]
︙ | |||
766 767 768 769 770 771 772 773 774 775 776 777 778 779 | 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 | + + + | { return string; } - (size_t)length { /* FIXME: Maybe cache this in an ivar? */ if (![self isUTF8]) return length; return of_string_position_to_index(string, length); } - (size_t)cStringLength { return length; |
︙ |