commit | 12e343f372c03b6fec9d5da6cd83833c79812bc9 | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@golang.org> | Sun Oct 07 10:21:17 2012 +1100 |
committer | Nigel Tao <nigeltao@golang.org> | Sun Oct 07 10:21:17 2012 +1100 |
tree | c1b51e5c447b2032faa4293d50280aefbea5a959 | |
parent | 0b2ca9e62f778adb95c31e57e120ef1cbfc42b25 [diff] |
image/jpeg: add DCT tests, do a small optimization (common sub-expression elimination) in idct.go. benchmark old ns/op new ns/op delta BenchmarkIDCT 5649 5610 -0.69% BenchmarkDecodeRGBOpaque 2948607 2941051 -0.26% The "type block" declaration moved so that idct.go is compilable as a stand-alone file: "go tool 6g -S idct.go" works. R=r CC=golang-dev https://golang.org/cl/6619056