FAQ
Reviewers: r,

Message:
Hello r@golang.org (cc: golang-dev@googlegroups.com),

I'd like you to review this change to
https://code.google.com/p/go


Description:
image/png: optimize encoding image.Gray and image.NRGBA images.

benchmark old ns/op new ns/op delta
BenchmarkEncodeGray 23616080 5624558 -76.18%
BenchmarkEncodeNRGBOpaque 34181260 17144380 -49.84%
BenchmarkEncodeNRGBA 41235820 20345990 -50.66%
BenchmarkEncodePaletted 5594652 5620362 +0.46%
BenchmarkEncodeRGBOpaque 17242210 17168820 -0.43%
BenchmarkEncodeRGBA 66515720 67243560 +1.09%

Please review this at http://codereview.appspot.com/6490099/

Affected files:
M src/pkg/image/png/writer.go
M src/pkg/image/png/writer_test.go

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedSep 10, '12 at 5:37a
activeSep 13, '12 at 5:47a
posts3
users2
websitegolang.org

2 users in discussion

Nigeltao: 2 posts R: 1 post

People

Translate

site design / logo © 2022 Grokbase