commit | 61da04f198dfb152eef4621963852384ecd63be5 | [log] [tgz] |
---|---|---|
author | bnc <bnc@google.com> | Tue May 03 11:11:44 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue May 03 11:12:32 2022 -0700 |
tree | 6ce6bb698ef40beb8b99c3bfb21cef4d9805c7e4 | |
parent | fdd86bf1ae343ad46bbe7be9fc8b7e6bb3bc8958 [diff] |
Do not recalculate BalsaHeaders::iterator_base::value_ unless necessary. Frequently there are back-to-back it->first and it->second calls. By making `value_` an absl::optional<> type, it is possible to avoid recalculating it on every Lookup() call. `value_` is initialized to absl::nullopt upon construction. It is copied by the implicit copy assignment operator and copy constructor, and will contain the correct views into `*header_`. It is now reset upon iterator increment. There should be no other ways to mutate the iterator. PiperOrigin-RevId: 446239817
QUICHE stands for QUIC, Http, Etc. It is Google‘s production-ready implementation of QUIC, HTTP/2, HTTP/3, and related protocols and tools. It powers Google’s servers, Chromium, Envoy, and other projects. It is actively developed and maintained.
There are two public QUICHE repositories. Either one may be used by embedders, as they are automatically kept in sync:
To embed QUICHE in your project, platform APIs need to be implemented and build files need to be created. Note that it is on the QUICHE team's roadmap to include default implementation for all platform APIs and to open-source build files. In the meanwhile, take a look at open source embedders like Chromium and Envoy to get started:
To contribute to QUICHE, follow instructions at CONTRIBUTING.md.
QUICHE is only supported on little-endian platforms.