Googletest export
Googletest export

Avoid temporary matcher instances.
They are unnecessary and can be relatively more expensive than the rest of the
algorithm.

PiperOrigin-RevId: 277084853

antidotcb/googletest,google/googletest,google/googletest,antidotcb/googletest,antidotcb/googletest,google/googletest,empiredan/googletest,gianricardo/googletest,gianricardo/googletest,google/googletest,empiredan/googletest,gianricardo/googletest,empiredan/googletest,antidotcb/googletest