mirror of
https://github.com/golang/go
synced 2024-11-20 10:44:41 -07:00
The Go programming language
efda3aba10
Time to draw.Draw a 200x200 image fell from 18.4ms (and 1 malloc) to 5.6ms (and 0 mallocs). It's still relatively slow since it assumes nothing about the src or mask images, but it does remove the malloc. There are existing faster, more specialized paths for copies, fills and image glyph masks. Also added a "compare to a slow but obviously correct implementation" check to draw_test.go. R=rsc, r CC=golang-dev https://golang.org/cl/1223044 |
||
---|---|---|
doc | ||
include | ||
lib | ||
misc | ||
pkg | ||
src | ||
test | ||
.hgignore | ||
.hgtags | ||
AUTHORS | ||
CONTRIBUTORS | ||
favicon.ico | ||
LICENSE | ||
README |
This is the source code repository for the Go programming language. For documentation about how to install and use Go, visit http://golang.org/ or load doc/install.html in your web browser. After installing Go, you can view a nicely formatted doc/install.html by running godoc --http=:6060 and then visiting http://localhost:6060/doc/install.html. Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.