golang-image/draw
Nigel Tao c62001d39b draw: optimize Kernel.Transform.
benchmark                      old ns/op      new ns/op      delta
BenchmarkTformCRSrcGray        6111610        5344117        -12.56%
BenchmarkTformCRSrcNRGBA       62070281       59295178       -4.47%
BenchmarkTformCRSrcRGBA        13840290       10612547       -23.32%
BenchmarkTformCRSrcUniform     591637         587621         -0.68%
BenchmarkTformCRSrcYCbCr       72219184       69404747       -3.90%

As of current origin/master, Gray and RGBA have fast paths but the other src
image types do not. They have more fat, so the relative improvement is smaller.

Change-Id: Ibbae91cd3cb3c139efb1dcc8fda1cb6432505189
Reviewed-on: https://go-review.googlesource.com/7794
Reviewed-by: Rob Pike <r@golang.org>
2015-03-19 21:20:14 +00:00
..
draw.go draw: new package, a superset of the standard library's image/draw 2015-02-17 23:20:02 +00:00
example_test.go draw: implement NearestNeighbor and ApproxBiLinear Transform. 2015-03-16 23:32:22 +00:00
gen.go draw: optimize Kernel.Transform. 2015-03-19 21:20:14 +00:00
impl.go draw: optimize Kernel.Transform. 2015-03-19 21:20:14 +00:00
scale_test.go draw: have TestSrcTranslationInvariance work on smaller images. 2015-03-18 06:02:26 +00:00
scale.go draw: implement Kernel.Transform. 2015-03-17 23:09:51 +00:00