forked from eclipse-platform/eclipse.platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[performance] IFile.write(byte[]): reduce store.fetchInfo()
Optimistically assume the parent folder already exists on local File System when it exists in workspace (normal case). So do not explicitly check it. If it did not exist file write will fail and can be retried after creating the parent in File System. This optimization is only implemented for byte[] content in the not appending case: * InputStream content would need a reset. * In append mode it is not obvious if something was already appended. eclipse-platform#1443
- Loading branch information
1 parent
b512a65
commit 2f0fa13
Showing
2 changed files
with
50 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters