Some more TIFF performance enhancements. Make getSamplesAsBytes()
use a preallocated array instead of allocating a new one on each
pixel. Also simplifies an if statement so there's less work done
per pixel. This reduces the running time by about 20%, and shortens
the total time taken by tests run by "mvn package" by about 5%.



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/sanselan/trunk@1293744 13f79535-47bb-0310-9956-ffa450edef68
3 files changed
tree: 27b8fdc070680750cab1c987fe45c20719024b8d
  1. src/
  2. LICENSE.txt
  3. NOTICE.txt
  4. pom.xml
  5. README.txt
  6. RELEASE_NOTES