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

Remove useless buf and prealloc in InternalKey #1245

Merged
merged 2 commits into from
Feb 5, 2023

Conversation

PragmaTwice
Copy link
Member

@PragmaTwice PragmaTwice commented Feb 5, 2023

We remove buf_ and prealloc_ field in InternalKey since they are useless (we can write to the result string directly, these allocation and stack space are unnecessary).

Copy link
Contributor

@torwig torwig left a comment

Choose a reason for hiding this comment

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

LGTM

@PragmaTwice
Copy link
Member Author

Thanks all. Merging...

@PragmaTwice PragmaTwice merged commit 9ef33b0 into apache:unstable Feb 5, 2023
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.

3 participants