[hpack] Do not inline elements for encoder hpack table (#34890)
This commit is contained in:
parent
4b091c1fa0
commit
f87ce8b413
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue