mirror of
https://github.com/google/googletest.git
synced 2025-12-08 09:47:49 +08:00
The slowdown appears to be due to an implicit conversion of distinct (yet semantically identical) lambdas to `std::function`. Lifting out the lambdas into functors that don't get re-instantiated reduces compilation times by nearly half. Fixes #4156 PiperOrigin-RevId: 523447948 Change-Id: Ib0ae0761a54d7b1f2b706b14b2858eedf47e2297 |
||
|---|---|---|
| .. | ||
| internal | ||
| gmock-actions.h | ||
| gmock-cardinalities.h | ||
| gmock-function-mocker.h | ||
| gmock-matchers.h | ||
| gmock-more-actions.h | ||
| gmock-more-matchers.h | ||
| gmock-nice-strict.h | ||
| gmock-spec-builders.h | ||
| gmock.h | ||