2
0
mirror of synced 2025-02-23 06:48:15 +00:00
Nigel Tao 4d3dd47e87 app/debug: use the *image.RGBA drawing fast path.
On my 2013 Nexus 7, a simple

start := time.Now()
draw.Draw(etc)
log.Printf("draw.Draw took %v", time.Since(start))

around the draw.Draw call dropped from 12ms to 30µs.

Change-Id: I12aea4a4ade07eedb8ee86f7c8d4a4ed49f39f36
Reviewed-on: https://go-review.googlesource.com/11299
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-06-23 04:51:34 +00:00
..
2015-06-08 20:57:53 +00:00
2015-01-20 15:15:48 +00:00
2015-06-11 16:42:09 +00:00
2015-06-11 16:42:09 +00:00