324e6dabf0
In case the image is read via a tiff.buffer, avoid copying the data strip before decoding it. Remove corresponding TODO. Speeds up reading uncompressed images (which is the common case) and uses much less memory. benchmark old ns/op new ns/op delta BenchmarkDecodeCompressed 4619438 4630774 +0.25% BenchmarkDecodeUncompressed 260809 219875 -15.70% R=nigeltao CC=golang-dev https://golang.org/cl/5683050 |
||
---|---|---|
bmp | ||
testdata | ||
tiff | ||
.hgignore | ||
AUTHORS | ||
codereview.cfg | ||
CONTRIBUTORS | ||
README |
This repository holds supplementary Go image libraries. To submit changes to this repository, see http://golang.org/doc/contribute.html.