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

glib: Use IntoGStr trait in a couple of places #882

Merged
merged 1 commit into from Jan 5, 2023

Conversation

sdroege
Copy link
Member

@sdroege sdroege commented Jan 5, 2023

This reduces allocations as all those strings are usually small and would be stack-allocated now for adding the NUL-terminator.

This reduces allocations as all those strings are usually small and
would be stack-allocated now for adding the NUL-terminator.
@GuillaumeGomez GuillaumeGomez merged commit 84667c8 into gtk-rs:master Jan 5, 2023
@sdroege sdroege deleted the into-gstr branch January 5, 2023 19:06
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