commit | 6fd121b1c999def9c9d1bcfa8cae3b6d64cfcde6 | [log] [tgz] |
---|---|---|
author | bnc <bnc@google.com> | Thu Apr 01 11:35:56 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Apr 01 11:36:36 2021 -0700 |
tree | 5948ebe2ace4e7eeb55aa72ba55ce148899374a2 | |
parent | 856e0e07c544f3eb09fad8075ae644c0dde6ddb1 [diff] |
Use circular buffer instead of std::deque for HPACK dynamic table in HTTP/2 decoder. Http2Deque is an alias for QuicheDequeImpl which is an alias for std::deque both in internal code and in Chromium. QuicCircularDeque is more memory efficient, especially if there are only few entries, and requires fewer allocations as new entries are added if old entries are also being removed, which is the case for HPACK where the dynamic table size is bounded. PiperOrigin-RevId: 366295336 Change-Id: I9457344c632ae26def506592d64a3d233cb380c1
QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects. QUICHE is only supported on little-endian platforms.
Code can be viewed in CodeSearch in Quiche and is imported into Chromium.