commit | 12c0f70c72d7cdb930b426cd29f31d847fea8abf | [log] [tgz] |
---|---|---|
author | bnc <bnc@google.com> | Mon May 10 09:37:24 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon May 10 09:38:14 2021 -0700 |
tree | 4ab0197183d99c2fa1a800300389c8e5bfa17498 | |
parent | 979e1881b0d1d9db0df5c98bb04ca93debffc2a3 [diff] |
Only do one map lookup instead of two in QuicheLinkedHashMap::insert(). Instead of find() then insert(), use try_emplace(). This change is inspired by cl/163240273. Also factor out two insert() calls into InsertInternal(). PiperOrigin-RevId: 372947805
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.