hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

Optimize File::TranslatePathWithFileCache when FileCache is empty

Open wwbmmm opened this issue 7 years ago • 0 comments

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.

wwbmmm avatar Jul 30 '17 11:07 wwbmmm