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

GL: don't reallocate std::string in DebugOutput #596

Closed
wants to merge 1 commit into from

Conversation

sthalik
Copy link
Contributor

@sthalik sthalik commented Oct 9, 2022

No description provided.

@mosra
Copy link
Owner

mosra commented Oct 10, 2022

If that's okay with you, I think this will be better handled without STL altogether, which is what #499 is meant to do. I'll finish & merge that PR once I have some free time again, unfortunately the top-priority tasks I have for this month don't include it.

@sthalik sthalik closed this Oct 10, 2022
@mosra mosra added this to the 2022.0a milestone Dec 30, 2022
@mosra
Copy link
Owner

mosra commented Jan 2, 2023

Just FYI, this is fixed with d89b882. The std::string callback is still present for backwards compatibility, but to avoid a temporary allocation use a StringView instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants