Avoid repeated processing of a source file name when compiling or loading