]> Cypherpunks repositories - gostls13.git/commit
Optimize exp/draw/x11 flusher inner loop.
authorNigel Tao <nigeltao@golang.org>
Tue, 25 May 2010 02:32:42 +0000 (19:32 -0700)
committerNigel Tao <nigeltao@golang.org>
Tue, 25 May 2010 02:32:42 +0000 (19:32 -0700)
commit0c662f60a5ef82a92b7bea26788a14f74b12fb52
tree85b56fc8ffca98cf03a46e25f6f54b2b79094c9a
parent6a060200ccf2f3bb9cc5cf1df84ab1da1f5c3f31
Optimize exp/draw/x11 flusher inner loop.

On my laptop, time to prepare and write 800x600 pixels over the
socket falls from 125-ish ms to 80-ish ms.

Thanks to Roger Peppe for the suggestion.

R=r
CC=golang-dev
https://golang.org/cl/1228044
src/pkg/exp/draw/x11/conn.go