Skip to content

HDDS-10037. Reduce the number of buffer copying in OMRatisHelper.#5894

Merged
adoroszlai merged 3 commits intoapache:masterfrom
szetszwo:HDDS-10037
Jan 1, 2024
Merged

HDDS-10037. Reduce the number of buffer copying in OMRatisHelper.#5894
adoroszlai merged 3 commits intoapache:masterfrom
szetszwo:HDDS-10037

Conversation

@szetszwo
Copy link
Contributor

@szetszwo szetszwo commented Jan 1, 2024

What changes were proposed in this pull request?

In OMRatisHelper, the helper methods uses a byte[] to do the conversion. It can be improved by using ByteBuffer for reducing the number of buffer copying.

What is the link to the Apache JIRA

HDDS-10037

How was this patch tested?

By existing tests.

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @szetszwo for the patch.

@adoroszlai adoroszlai merged commit 2a70390 into apache:master Jan 1, 2024
@szetszwo
Copy link
Contributor Author

szetszwo commented Jan 1, 2024

@adoroszlai , thanks a lot for reviewing and committing this!

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.

2 participants