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/URLImageDescriptor.java
}
	return ((URLImageDescriptor)o).url.equals(this.url);
}
/* (non-Javadoc)
 * Method declared on ImageDesciptor.
 * Returns null if the image data cannot be read.
 */
public ImageData getImageData() {
	ImageData result = null;
	InputStream in = getStream();
	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;