I don't understand the description of the composer dump-autoload
command :
If you need to update the autoloader because of new classes in a classmap package for example, you can use "dump-autoload" to do that without having to go through an install or update.
Additionally, it can dump an optimized autoloader that converts PSR-0/4 packages into classmap ones for performance reasons. In large applications with many classes, the autoloader can take up a substantial portion of every request's time. Using classmaps for everything is less convenient in development, but using this option you can still use PSR-0/4 for convenience and classmaps for performance.
Why does it says dump ... for performance reasons
? Why dumping the optimized loader ?
Is it 'dumping for' or 'converts for performance reason' ?
If it's 'dumping for performance', why then it says classmaps for performance
?
If it's 'converts for performance', why then dumping the autoloader ?
I'm confused.