Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize File::TranslatePathWithFileCache when FileCache is empty #7940

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wwbmmm
Copy link
Contributor

@wwbmmm wwbmmm commented Jul 30, 2017

Change-Id: I7c6d98db13ea0dece449597347f31761486f1aa7

When StaticContentCache::TheFileCache is empty, it is no need to call access().

This will save 30% cost of some file system functions such as file_exist(), is_file(), etc.

Change-Id: I7c6d98db13ea0dece449597347f31761486f1aa7
@wwbmmm wwbmmm changed the title optimize File::TranslatePathWithFileCache when FileCache is empty Optimize File::TranslatePathWithFileCache when FileCache is empty Jul 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants