Skip to content

Conversation

@zaidoon1
Copy link
Contributor

@zaidoon1 zaidoon1 commented Oct 12, 2025

resolve 13951

@meta-cla meta-cla bot added the CLA Signed label Oct 12, 2025
@zaidoon1
Copy link
Contributor Author

cc @cbi42 thoughts on this fix?

@andrew-kryczka
Copy link
Contributor

andrew-kryczka commented Oct 27, 2025

This could conclude the saga of #6944 -> #7149 -> #9611 -> ?

Just need to make sure the InternalKeyComparator overhead is negligible (looks like just the optional could make it use more memory than the pointer).

Kind of tangential - #13951 is narrowly focused on heap allocations. In the code here size of BlockIter objects has historically been more significant. So measuring overall performance would be better.

@zaidoon1
Copy link
Contributor Author

Just need to make sure the InternalKeyComparator overhead is negligible (looks like just the optional could make it use more memory than the pointer).

how should i go about doing this?

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.

Excessive and unnecessary InternalKeyComparator allocations from BlockIter

2 participants