Descriptionimage/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.
Patch Set 1 #Patch Set 2 : diff -r 591de8123cb5 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 591de8123cb5 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r e2ec9e45d282 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|