Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor|FS1: Avoid manipulating the open-files list in accessFile()
Restructed logic for interpreted file instantiation so as to avoid manipulating the open-files list when answering is-file-accessible queries. In turn this means that one fewer DFile handle is needed, further improving startup performance. Rather than returning a handle to the opened file (that which was added to the opened-file list), tryOpenFile() now returns the file itself (leaving it to the caller to decide whether to list and/or index it later if needed).
- Loading branch information
1 parent
268f073
commit e6daa6a
Showing
3 changed files
with
126 additions
and
118 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
Oops, something went wrong.