Hi,

replaceOccurrencesOfString: withString: options: range:

works, but is quite slow.
There is a lot of range checking, finding out which classes are involved etc.
That is deathly if you do this in a loop.

I wanted to clean out some low-level code in GSWeb, but it seems like the base 
string classes are just too 
slow:

 NEWbaseStringByConvertingToHTML  took 0.031764 sec
 stringByEscapingHTMLAttributeValue took 0.072553 sec

Later,

David Wetzel

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to