Make QuicCryptoClientConfig::PopulateFromCanonicalConfig() more efficient.

Change QuicCryptoClientConfig::PopulateFromCanonicalConfig() to perform only one
lookup instead of three in case |canonical_server_map_| already contains
|suffix_server_id|, and one lookup instead of two in case it does not.
(Insertion without hint involves a lookup, insertion with hint does not.)

PiperOrigin-RevId: 378863627
1 file changed
tree: 10f5d52d1ba2b2f6ca81f18fb2591308d710a17b
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/
  6. CONTRIBUTING.md
  7. LICENSE
  8. 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.

Code can be viewed in CodeSearch in Quiche and is imported into Chromium.