Is it more efficient to specify the location of the view directly in MVC?


I want to have code that runs as efficiently as possible. I have views that are located in locations such as:


What I would like to know is has anyone looked into if it is more efficient to directly code the view location in action like this:

return View("~/Areas/Administration/Views/Accounts/Create.cshtml", vm);

If not coded like this then I believe it would search all the following locations first:


Don't worry about this and never hardcode your view locations like this. When running in Release mode ASP.NET MVC keeps those locations cached and it doesn't perform all those expensive lookups.