1
0
mirror of https://github.com/golang/go synced 2024-10-04 12:21:26 -06:00
go/src/pkg/mime
Brad Fitzpatrick bba7396fbd strings: implement a faster byte->string Replacer
This implements a replacer for when all old strings are single
bytes, but new values are not.

BenchmarkHTMLEscapeNew   1000000   1090 ns/op
BenchmarkHTMLEscapeOld   1000000   2049 ns/op

R=rsc
CC=golang-dev
https://golang.org/cl/5176043
2011-10-03 15:19:04 -07:00
..
multipart strings: implement a faster byte->string Replacer 2011-10-03 15:19:04 -07:00
grammar.go mime: media type formatter 2011-08-26 16:55:18 -04:00
Makefile build: no required environment variables 2010-08-18 10:08:49 -04:00
mediatype_test.go mime: ParseMediaType returns os.Error now, not a nil map 2011-08-18 12:51:23 -07:00
mediatype.go mime: fix build 2011-08-26 17:19:52 -04:00
test.types mime: new package, use in http 2010-02-09 20:47:45 -08:00
type_test.go mime: fix build 2011-08-26 17:19:52 -04:00
type.go mime: fix build 2011-08-26 17:19:52 -04:00