[DGD] Reasonable Tick Counts?

Shentino shentino at gmail.com
Sun Jul 8 23:17:23 CEST 2007


Fastest way I know of to do a "replace"

temp = oldstuff + explode(input, oldstuff) + oldstuff
output = implode(temp, newstuff)

It's Noah's "Crazy uncle bear" approach, but it works.  I use it all
the time myself to escape (and unescape) raw strings so that they can
be LPC neutral (without funny escapes doing stuff).  This is how I can
output and input strings without worrying about special characters.



More information about the DGD mailing list