]> Cypherpunks repositories - gostls13.git/commit
image/draw: add RGBA64Image fast path
authorNigel Tao <nigeltao@golang.org>
Thu, 5 Aug 2021 06:11:28 +0000 (16:11 +1000)
committerNigel Tao <nigeltao@golang.org>
Fri, 3 Sep 2021 01:38:54 +0000 (01:38 +0000)
commit9f69a44308f4f9cbdae68925202dfef2027a7d20
treecfebbfbaff10356e3152638499faf8784480ff95
parent065f3808156c92d957fc1ad2a2a37e147ee628f4
image/draw: add RGBA64Image fast path

name               old time/op  new time/op  delta
GenericOver-4      15.0ms ± 1%   2.9ms ± 1%  -80.56%  (p=0.008 n=5+5)
GenericMaskOver-4  7.82ms ± 4%  1.69ms ± 2%  -78.38%  (p=0.008 n=5+5)
GenericSrc-4       6.13ms ± 3%  1.66ms ± 1%  -72.90%  (p=0.008 n=5+5)
GenericMaskSrc-4   11.5ms ± 1%   2.0ms ± 0%  -82.77%  (p=0.008 n=5+5)

Updates #44808.

Change-Id: I131cf6fad01708540390a8012d8f2a21e849fe9d
Reviewed-on: https://go-review.googlesource.com/c/go/+/340049
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Nigel Tao <nigeltao@golang.org>
doc/go1.18.html
src/image/draw/draw.go
src/image/draw/draw_test.go