]> Cypherpunks repositories - gostls13.git/commit
[release-branch.r57] image: add type-specific Set methods and use them when decoding...
authorRuss Cox <rsc@golang.org>
Tue, 3 May 2011 05:45:01 +0000 (01:45 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 3 May 2011 05:45:01 +0000 (01:45 -0400)
commit69e88b5c529ca31f5551cfb15fdc5290628f3018
treee75e4a5e2e781718d8d4c6dd320f15565e118d48
parent006e5e279b4c0dc8c3a4fbe324e0893c76ede27d
[release-branch.r57] image: add type-specific Set methods and use them when decoding PNG.

««« CL 4428080 / 2098f7682f2d
image: add type-specific Set methods and use them when decoding PNG.
This speeds up PNG decode about 20% by avoiding per-pixel interface conversions.

R=nigeltao, rsc
CC=golang-dev
https://golang.org/cl/4428080
»»»

TBR=adg
CC=golang-dev
https://golang.org/cl/4426078
src/pkg/image/image.go
src/pkg/image/png/reader.go