Skip to content

CASSANDRA-21223 Minor TokenMap performance improvement#4677

Open
krummas wants to merge 1 commit intoapache:trunkfrom
krummas:marcuse/21223
Open

CASSANDRA-21223 Minor TokenMap performance improvement#4677
krummas wants to merge 1 commit intoapache:trunkfrom
krummas:marcuse/21223

Conversation

@krummas
Copy link
Copy Markdown
Member

@krummas krummas commented Mar 17, 2026

Avoid copying the tokens every time .tokens() is called

Thanks for sending a pull request! Here are some tips if you're new here:

  • Ensure you have added or run the appropriate tests for your PR.
  • Be sure to keep the PR description updated to reflect all changes.
  • Write your PR title to summarize what this PR proposes.
  • If possible, provide a concise example to reproduce the issue for a faster review.
  • Read our contributor guidelines
  • If you're making a documentation change, see our guide to documentation contribution

Commit messages should follow the following format:

<One sentence description, usually Jira title or CHANGES.txt summary>

<Optional lengthier description (context on patch)>

patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####

Co-authored-by: Name1 <email1>
Co-authored-by: Name2 <email2>

The Cassandra Jira

Avoid copying the tokens every time .tokens() is called
@pmcfadin pmcfadin added the needs-committer Patch ready, waiting for a committer to review and merge label Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-committer Patch ready, waiting for a committer to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants