Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index on demand #2

Merged
merged 2 commits into from
Sep 21, 2023
Merged

Index on demand #2

merged 2 commits into from
Sep 21, 2023

Conversation

pbogut
Copy link
Owner

@pbogut pbogut commented Sep 21, 2023

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.

Remove initial index of php files to improve starting time
@pbogut pbogut merged commit c911842 into master Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant