Once we convert EventNames to StringRef, which is cheap, we can call StringRef::contains without creating a temporary instance of std::string.
32 KiB
32 KiB
Once we convert EventNames to StringRef, which is cheap, we can call StringRef::contains without creating a temporary instance of std::string.