CCopybara-ServiceFix and reorder some #includes
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Fix and reorder some #includes Some of these direct dependencies were previously indirect/transitive dependencies. They previously worked -- and continue to work -- as they only required header inclusions. They should be mentioned in CMakeLists.txt, which we can handle in a separate commit. PiperOrigin-RevId: 977974961 Change-Id: Iac66449258d7c8c74e6813c72943550e83bff099 | 13 天前 | |
Fix and reorder some #includes Some of these direct dependencies were previously indirect/transitive dependencies. They previously worked -- and continue to work -- as they only required header inclusions. They should be mentioned in CMakeLists.txt, which we can handle in a separate commit. PiperOrigin-RevId: 977974961 Change-Id: Iac66449258d7c8c74e6813c72943550e83bff099 | 13 天前 | |
Improve sorting consistency in CMakeLists.txt PiperOrigin-RevId: 972171567 Change-Id: Ifc1fa8dd369644ac28ed1eeac7e107f5d0ac3cfb | 25 天前 | |
Introduce absl::TransparentHash for transparent hashing of multiple types. absl::TransparentHash<Ts...> is a hash functor that can hash any of the types Ts... It is marked as transparent (is_transparent = void). This allows containers like absl::flat_hash_map to use a single hash functor for lookups with different but comparable types (e.g., std::string and absl::string_view). Added a test case in absl/hash/hash_test.cc using Name and NameView to demonstrate and test absl::TransparentHash with a custom transparent equality functor. ``` name cpu/op cpu/op vs base BM_TransparentFind 2.620n ± 1% 2.413n ± 1% -7.90% (p=0.002 n=6) name time/op time/op vs base BM_TransparentFind 2.625n ± 1% 2.418n ± 1% -7.87% (p=0.002 n=6) name INSTRUCTIONS/op INSTRUCTIONS/op vs base BM_TransparentFind 45.07 ± 0% 42.07 ± 0% -6.67% (p=0.002 n=6) name CYCLES/op CYCLES/op vs base BM_TransparentFind 9.229 ± 0% 8.492 ± 0% -7.98% (p=0.002 n=6) ``` PiperOrigin-RevId: 975251791 Change-Id: I7400e103167d707366f0be82dce627ab478959dd | 19 天前 | |
Internal cleanup PiperOrigin-RevId: 972909109 Change-Id: I3a2ee7eee0c5a37d086f04c4b8e34d577538cda4 | 23 天前 | |
Replace std::TRAIT<...>::value with std::TRAIT_v<...> equivalents PiperOrigin-RevId: 927479222 Change-Id: I70c38e557c8527f72bf86281d88621a5eca26df3 | 3 个月前 | |
Fix and reorder some #includes Some of these direct dependencies were previously indirect/transitive dependencies. They previously worked -- and continue to work -- as they only required header inclusions. They should be mentioned in CMakeLists.txt, which we can handle in a separate commit. PiperOrigin-RevId: 977974961 Change-Id: Iac66449258d7c8c74e6813c72943550e83bff099 | 13 天前 | |
Fix and reorder some #includes Some of these direct dependencies were previously indirect/transitive dependencies. They previously worked -- and continue to work -- as they only required header inclusions. They should be mentioned in CMakeLists.txt, which we can handle in a separate commit. PiperOrigin-RevId: 977974961 Change-Id: Iac66449258d7c8c74e6813c72943550e83bff099 | 13 天前 |