commit | 2398a74bd80ea945f687b3750fa3e18c258945eb | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Mon May 02 15:10:37 2011 -0700 |
committer | Rob Pike <r@golang.org> | Mon May 02 15:10:37 2011 -0700 |
tree | 0e5345a1c04017258c3582398afb2d9b8a57a806 | |
parent | 4002014cf8b321ade383a3b2c8223cae7dc8d3ee [diff] |
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