IterKey: change space_[32] to 39 to utilize padding space (#10633)

Summary:
This PR utilize padding space.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/10633

Reviewed By: pdillinger

Differential Revision: D46410978

Pulled By: ajkr

fbshipit-source-id: 23ec757b1eea9221c1390971e39d341c6b7f2003
This commit is contained in:
leipeng 2023-06-06 11:19:15 -07:00 committed by Facebook GitHub Bot
parent 633c738a98
commit ddfcbea3e1

View file

@ -688,7 +688,7 @@ class IterKey {
const char* key_;
size_t key_size_;
size_t buf_size_;
char space_[32]; // Avoid allocation for short keys
char space_[39]; // Avoid allocation for short keys
bool is_user_key_;
Slice SetKeyImpl(const Slice& key, bool copy) {