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
oxigraph-main
leipeng 1 year ago committed by Facebook GitHub Bot
parent 633c738a98
commit ddfcbea3e1
  1. 2
      db/dbformat.h

@ -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) {

Loading…
Cancel
Save