Replies: 1 comment
-
For comparing just 4 or 5 chars just use memcmp: https://godbolt.org/z/7c9Tobrz3 On gcc they optimise to memcmp, which is why you can still use equals. eve has equals, mismatch and so on but since the compiler doesn't know them, it wont' get optimised: https://godbolt.org/z/vMnq4e4Gf |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, can I match Eve with values at a specific position in the string? Do you currently have a structure that corresponds to the std::equal function?
I currently have this build
Beta Was this translation helpful? Give feedback.
All reactions