Get rid of commented out code.
Massive optimization to string replacement. (reduce alloc)
Benchmark update for new code:

- Using Vec instead of ~[]
- String replacement uses unsafe to avoid superfluous allocation.