The Go programming language
Go to file
Nigel Tao d7a6d22852 exp/draw fast path for glyph images.
To draw.Draw a 32x32 image.Alpha 10000 times,
Before: 633ms with 10000 mallocs
After: 49ms with 0 mallocs

These times are just blitting an image.Alpha, and do not include
rasterizing a glyph's vector contours to an image.Alpha.

The "generic" test case in draw_test.go tests this fast path.

R=rsc
CC=golang-dev
https://golang.org/cl/1122043
2010-05-10 10:32:08 +10:00
doc go spec: simplify section on channel types 2010-05-07 18:22:40 -07:00
include Fix *l/*c -V flag segfault 2010-02-08 11:53:27 -08:00
lib godoc: add codewalk support 2010-04-26 22:35:12 -07:00
misc dashboard: fix benchmark json output 2010-05-03 18:35:32 +10:00
pkg more description 2009-10-15 23:08:46 -07:00
src exp/draw fast path for glyph images. 2010-05-10 10:32:08 +10:00
test big: completed set of Int division routines & cleanups 2010-05-03 18:48:05 -07:00
.hgignore rename cgo2c to goc2c in ignored list 2010-04-26 22:49:14 -07:00
.hgtags release.2010-05-04 tags 2010-05-05 12:13:50 +10:00
AUTHORS CLA: Andrei Vieru 2010-04-12 10:11:18 -07:00
CONTRIBUTORS CONTRIBUTORS: add Brad Fitzpatrick (Google Inc) 2010-05-05 12:49:59 -07:00
favicon.ico add a favicon plus a couple of hi-res versions of gordon 2009-10-26 10:13:07 -07:00
LICENSE Add an explicit patent grant to the Go license. 2010-01-25 15:39:32 -08:00
README add a README file, so that if someone finds a 2009-11-08 09:57:37 -08:00

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.