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

Moving coord_string from returning a std::string to std::string_view. #2704

Merged
merged 1 commit into from Dec 7, 2021

Conversation

KiterLuc
Copy link
Contributor

@KiterLuc KiterLuc commented Dec 7, 2021

The coord_string function is used in a lot of performance critical paths.
Moving it to return a basic_string_view as none of these paths benefit
from making a copy of the value.


TYPE: IMPROVEMENT
DESC: Moving coord_string from returning a std::string to std::basic_string_view.

The coord_string function is used in a lot of performance critical paths.
Moving it to return a string_view as none of these paths benefit from
making a copy of the value.

---
TYPE: IMPROVEMENT
DESC: Moving coord_string from returning a std::string to std::string_view.
@KiterLuc KiterLuc changed the title Moving coord_string from returning a std::string to std::basic_string_view. Moving coord_string from returning a std::string to std::string_view. Dec 7, 2021
@KiterLuc KiterLuc merged commit 20f969c into dev Dec 7, 2021
@KiterLuc KiterLuc deleted the lr/coord-string-fix branch December 7, 2021 19:43
github-actions bot pushed a commit that referenced this pull request Dec 7, 2021
…#2704)

The coord_string function is used in a lot of performance critical paths.
Moving it to return a string_view as none of these paths benefit from
making a copy of the value.

---
TYPE: IMPROVEMENT
DESC: Moving coord_string from returning a std::string to std::string_view.
Shelnutt2 pushed a commit that referenced this pull request Dec 9, 2021
…#2704) (#2707)

The coord_string function is used in a lot of performance critical paths.
Moving it to return a string_view as none of these paths benefit from
making a copy of the value.

---
TYPE: IMPROVEMENT
DESC: Moving coord_string from returning a std::string to std::string_view.

Co-authored-by: KiterLuc <67824247+KiterLuc@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants