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

Swap getTopicReference(topic) with serviceUnit.includes to reduce calling getTopicReference #11405

Merged
merged 1 commit into from
Jul 23, 2021

Conversation

Technoboy-
Copy link
Contributor

Motivation

Swap getTopicReference(topic).isPresent() with serviceUnit.includes to avoid calling getTopicReference to many times.

For contributor

This is a small optimization and does not require documentation。

@Anonymitaet Anonymitaet added the doc-not-needed Your PR changes do not impact docs label Jul 22, 2021
@Technoboy-
Copy link
Contributor Author

/pulsarbot run-failure-checks

@codelipenghui codelipenghui added this to the 2.9.0 milestone Jul 23, 2021
@codelipenghui codelipenghui added release/2.8.1 type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages labels Jul 23, 2021
…opicName) to reduce calling getTopicReference
@315157973
Copy link
Contributor

@Technoboy- Please try rebase the master branch

@sijie sijie merged commit 8b1d937 into apache:master Jul 23, 2021
codelipenghui pushed a commit that referenced this pull request Jul 30, 2021
…opicName) to reduce calling getTopicReference (#11405)

### Motivation

Swap getTopicReference(topic).isPresent() with serviceUnit.includes to avoid calling getTopicReference to many times.

#### For contributor

This is a small optimization and does not require documentation。


(cherry picked from commit 8b1d937)
@codelipenghui codelipenghui added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Jul 30, 2021
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
…opicName) to reduce calling getTopicReference (apache#11405)

### Motivation

Swap getTopicReference(topic).isPresent() with serviceUnit.includes to avoid calling getTopicReference to many times.

#### For contributor

This is a small optimization and does not require documentation。
@Technoboy- Technoboy- deleted the swap-method branch August 10, 2022 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/branch-2.8 Archived: 2.8 is end of life doc-not-needed Your PR changes do not impact docs release/2.8.1 type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants