Small tweaks for methods that called often during application boot. For default Laravel application with 100 routes these tweaks eliminates hundreds of unnecessary calls. As a result execution time reduces significantly.
I got more than 15% however independent measurement would be highly appreciated.
Merge pull request #5145 from EvgenyKovalev/4.2

Performance tweaks