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

make Part::$http property dynamic only when needed #1156

Closed
wants to merge 1 commit into from

Conversation

SQKo
Copy link
Member

@SQKo SQKo commented Jul 16, 2023

Not All Part classes needed the http client stored as property, this PR makes it optional that only the Part classes that needs the http client. While this add overhead to the getter, this in hope reduces memory by removing unused property.

So far there is no significance difference, testing it with D.PHP bot for atleast 24 hours.

@SQKo
Copy link
Member Author

SQKo commented Jul 19, 2023

There was no significance change, so I'm closing this

@SQKo SQKo closed this Jul 19, 2023
@SQKo SQKo deleted the part-http-dynamic branch August 13, 2023 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant