Some optimisation.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26783 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2008-07-15 06:57:01 +00:00
parent 49a2c6b3c6
commit 940ba916dd
6 changed files with 96 additions and 12 deletions

View file

@ -101,6 +101,11 @@ int main()
[s2 replaceCharactersInRange:((NSRange){10,4})
withString:@"changed"];
print_string(s2);
[s2 replaceOccurrencesOfString: @"changed"
withString: @"changed again"
options: NSLiteralSearch
range: NSMakeRange(0, [s2 length])];
print_string(s2);
#if 0
/* Test the use of the `%@' format directive. */