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

WIP: Use std::string_view everywhere #3698

Closed
wants to merge 10 commits into from

Conversation

Ericson2314
Copy link
Member

As an optimization I couldn't care less about const std::string & vs std:string_view. However, std:string_view matches Rust's &str, which is used far more than &String, so I figure this is good for FFI, which is more likely to be worth it.

Still, this is a real slog so I'll not keep working on it unless told this is wanted.

So far, libutils builds
@Ericson2314 Ericson2314 marked this pull request as draft June 15, 2020 22:30
@edolstra
Copy link
Member

Looks good to me!

@Ericson2314
Copy link
Member Author

OK everything builds (!), but there are some bugs I need to work out. I will also find myself some extra feedback on style/idioms.

@Ericson2314
Copy link
Member Author

I think this should wait for Rust haha :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants