Better alternative to strings.contains, as string.contains consume much more CPU.
2 Likes
The implementation of strings.Index
which is called by strings.Contains
is quite optimized.
You write “much more”. Much more thant what? How did you measure?
4 Likes
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.