Youâd love to read this thread: http://www.java-gaming.org/forums/index.php?topic=13768.0. It was answered by Dmitri Trembovetski & contains a great benchmark program by Woogley that you could use to test your problem. 8)
The results of that thread were basically:
clipping is the worst
sub-imaging (where you have lots of little images) is the best for java 1.5 and before
graphics.drawImage(image, srcRect, destRect) is the fastest in Mustang with Direct3D, according to Trembovetski.
So use this method if you only want to draw rectangular parts of that big image:
Graphics.drawImage(Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
ImageObserver observer)
Keith