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

refactor: intern repeated strings e.g. downloadDir #1430

Merged
merged 2 commits into from Sep 8, 2020
Merged

Conversation

ckerr
Copy link
Member

@ckerr ckerr commented Sep 8, 2020

Second of three PRs focused on minor memory improvements in the Qt client.

Add an app-wide interned QString cache for commonly-repeated strings. Currently used for download_dir, announce_url, comment, creator, and error_string.

Add an app-wide interned QString cache for commonly-repeated
strings. Currently used for download_dir, announce_url, comment,
creator, error_string.
@ckerr ckerr added the scope:qt label Sep 8, 2020
@ckerr ckerr merged commit b3c3168 into master Sep 8, 2020
@ckerr ckerr deleted the intern-strings branch September 8, 2020 04:03
@ckerr ckerr added the type:perf A code change that improves performance label Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:qt type:perf A code change that improves performance
Development

Successfully merging this pull request may close these issues.

None yet

1 participant