-
Notifications
You must be signed in to change notification settings - Fork 113
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. 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 - which can only happen when the workspace is out of sync with local 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. #1443
- Loading branch information
1 parent
6543b14
commit c5603d2
Showing
2 changed files
with
45 additions
and
5 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