Summary: | [content type] avoid reading contents when not needed | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Rafael Chaves <eclipse> | ||||
Component: | Runtime | Assignee: | Rafael Chaves <eclipse> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | jeffmcaffer | ||||
Version: | 3.0 | Keywords: | performance | ||||
Target Milestone: | 3.1 M3 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Rafael Chaves
2004-05-12 14:57:41 EDT
Adding Jeff, the performance police. Actually, in practice this would be a rather rare scenario (empty files, or no corresponding content type, or content types without describers). Deferring. Reopening. Created attachment 15027 [details]
patch against org.eclipse.core.resources
The patch changes the way IFile#getContentDescription to that it postpones the
file opening until bytes are actually requested. This happens in cases such as
content types with no content describers (file name association only) or files
with names for which there are no content types associated.
Fix reviewed by DJ. Released to HEAD. |