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

Re-use fetched dependencies in lib/base.php #25240

Merged
merged 1 commit into from
Jan 21, 2021

Conversation

MorrisJobke
Copy link
Member

Reduces calls to DI container by reusing already fetched dependencies.

For status.php it went from 355 to 344. I know: not super crazy, but if we slim down lib/base.php steadily it will improve all code paths.

Reduces calls to DI container by reusing already fetched dependencies.

For status.php it went from 355 to 344.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@rullzer rullzer merged commit 15b0e4d into master Jan 21, 2021
@rullzer rullzer deleted the enh/noid/re-use-fetched-dependencies branch January 21, 2021 07:54
@rullzer rullzer mentioned this pull request Jan 21, 2021
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants