Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark Abseil hardening assert in AssertSameContainer as slow.
When Abseil hardening is enabled, this assertion's condition gets evaluated every time an iterator equality check is performed on iterators from a raw_hash_set. This occurs very frequently when looping over the contents of sets, due to loop conditions like `it != end()`, and causes about 0.4% CPU overhead to some Google workloads. PiperOrigin-RevId: 681560141 Change-Id: Ia0177cbef7cf67f9f0b6adf2cf55d9a2ed320d2d
- Loading branch information