Pros:
It will improve startup time (below 2 secs now on my project vs 16+ before).
Parsing php files is happening when they are actually required.
Caching index in file is not needed.
Cons:
Will have to bring it back for find reference if ever implemented. For now YAGNI.
May fail to import modules that are doing something fancy in registration.php, will deal with it if/when I encounter one.
Pros: It will improve startup time (below 2 secs now on my project vs 16+ before). Parsing php files is happening when they are actually required. Caching index in file is not needed.
Cons: Will have to bring it back for find reference if ever implemented. For now YAGNI. May fail to import modules that are doing something fancy in
registration.php
, will deal with it if/when I encounter one.