Reduce QuicConfig size from 1432 bytes to 1160 bytes by better padding.
// Before
sizeof(QuicConfigValue) = 16
sizeof(QuicFixedUint32) = 32
sizeof(QuicFixedUint62) = 48
sizeof(QuicFixedUint128) = 64
sizeof(QuicFixedTagVector) = 80
sizeof(QuicFixedSocketAddress) = 72
sizeof(QuicConfig) = 1432
// After
sizeof(QuicConfigValue) = 16
sizeof(QuicFixedUint32) = 24
sizeof(QuicFixedUint62) = 32
sizeof(QuicFixedUint128) = 48
sizeof(QuicFixedTagVector) = 64
sizeof(QuicFixedSocketAddress) = 64
sizeof(QuicConfig) = 1160
PiperOrigin-RevId: 338664457
Change-Id: I828e2f900d493277832223df0a507bd77ceb8c89
1 file changed
tree: 57faee6bf7e3a24368249e0916410f19fe66f73a
- common/
- epoll_server/
- http2/
- quic/
- spdy/
- CONTRIBUTING.md
- LICENSE
- README.md
README.md
QUICHE
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.