Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 566986

Summary: More efficient read technique in SafeFileInputStream and SafeChunkyInputStream
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: jwhiting, Lars.Vogel
Version: 4.17   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/c/platform/eclipse.platform.resources/+/169345
https://bugs.eclipse.org/bugs/show_bug.cgi?id=566983
Whiteboard:

Description Lars Vogel CLA 2020-09-15 03:37:05 EDT
Similar to Bug 566685 but for SafeFileInputStream and SafeChunkyInputStream.
Comment 1 Eclipse Genie CLA 2020-09-15 03:38:27 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.resources/+/169345
Comment 2 Lars Vogel CLA 2020-09-21 08:46:11 EDT
Jeremy, can you help here?
Comment 3 Jeremy Whiting CLA 2020-09-21 09:39:04 EDT
 I looked at this candidate class for optimizing. Looking at the uses of the object it's not obvious there will be a performance improvement. The objects that use SafeFileInputStream intentionally read individual int values or, read using a bulk read.