Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change std::string -> std::string_view where applicable. #141

Closed
gvansickle opened this issue Feb 2, 2024 · 0 comments · Fixed by #143
Closed

Change std::string -> std::string_view where applicable. #141

gvansickle opened this issue Feb 2, 2024 · 0 comments · Fixed by #143

Comments

@gvansickle
Copy link
Owner

I'm seeing a lot of places where std:string_view would work vs. std::string, reducing allocations in the process. E.g. MatchList::Print().

@gvansickle gvansickle self-assigned this Feb 2, 2024
@gvansickle gvansickle added this to the Version 0.4.0 milestone Feb 2, 2024
@gvansickle gvansickle linked a pull request Feb 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant