Bug 63407 [JFace] image reading is unbuffered
in i0520 I was tracing disk reads and noticed that when reading images we are hitting the disk for individual bytes. While there may not be a huge win here, it would likely be worthwhile using a BufferedInputStream around whatever stream is being used now.
bundles/org.eclipse.jface/src/org/eclipse/jface/resource/FileImageDescriptor.java
public ImageData getImageData() {
	InputStream in = getStream();
	ImageData result = null;
	if (in != null) {
		try {
			result= new ImageData(in);
		} catch (SWTException e) {
			if (e.code != SWT.ERROR_INVALID_IMAGE)
					throw e;
				
		} finally {
			try {
				in.close();
			}catch (IOException e) {
				
				
			}
		}
	}
	return result;
}
/**
 * Returns a stream on the image contents.  Returns
 * null if a stream could not be opened.
 */
private InputStream getStream() {
	InputStream is = null;
	if (location != null) {
		is = location.getResourceAsStream(name);
	} else {