[hpack] Do not inline elements for encoder hpack table (#34890)

This commit is contained in:
Alisha Nanda 2023-11-07 15:13:45 -08:00 committed by GitHub
parent 4b091c1fa0
commit f87ce8b413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View File

@ -5704,7 +5704,6 @@ grpc_cc_library(
hdrs = [
"ext/transport/chttp2/transport/hpack_encoder_table.h",
],
external_deps = ["absl/container:inlined_vector"],
language = "c++",
deps = [
"hpack_constants",

View File

@ -21,8 +21,7 @@
#include <stdint.h>
#include <limits>
#include "absl/container/inlined_vector.h"
#include <vector>
#include "src/core/ext/transport/chttp2/transport/hpack_constants.h"
@ -73,8 +72,7 @@ class HPackEncoderTable {
uint32_t table_elems_ = 0;
uint32_t table_size_ = 0;
// The size of each element in the HPACK table.
absl::InlinedVector<EntrySize, hpack_constants::kInitialTableEntries>
elem_size_;
std::vector<EntrySize> elem_size_;
};
} // namespace grpc_core