-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
fixed memory usage #2380
fixed memory usage #2380
Conversation
Wooo, let me see that :-) |
authors_list fix => 2480 bytes saved |
So, it was cast and type shit for it. |
freqman_db fix => 1152 bytes saved |
tone_key fix => 896 bytes saved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add it somewhere in the dev /contributor rules, use std::string_view as much as possible when strings are statics that will not change.
I would love an explanation about the using/extern things. I'm going to search for this.
Good to go, thanks :-)
Ho, I see it now. It was also a hidden std::string replaced by a std::string_view |
Thanks @bernd-herzog :-) |
adapt changes from "fixed memory usage portapack-mayhem#2380" to the file generator.
This pull request fixed some memory issues.