• Brad Fitzpatrick's avatar
    strings: add Replacer, NewReplacer · 7b0f3caa
    Brad Fitzpatrick authored
    This is just a new API to do many replacements at once.
    
    While the point of this API is to be faster than doing replacements one
    at a time, the implementation in this CL has the optimizations removed
    and may actually be slower.
    
    Future CLs will bring back & add optimizations.
    
    R=r, rsc, rogpeppe
    CC=golang-dev
    https://golang.org/cl/5081042
    7b0f3caa
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...