-
-
Notifications
You must be signed in to change notification settings - Fork 267
@hicwic PR #371 #461
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
@hicwic PR #371 #461
Conversation
…should not be commited
facae8d
to
2e78b7c
Compare
Hi @hicwic |
Thx for integrating my work. Really pleased I quickly looked your PR on my Steam Deck, as i'm not at home. So i could not test it futher until next weekend. Seems good, but i have one major request. Please make the size of history definable by a line graph attribute. It will be more customizable, and you'll save memory if you don't use plot graph on a stat. (actually you save 10 elements of each stat, even if we are not using it). In my use case, my FPS graph is 100 plots long, and this may vary along use cases. for example you can define a LINE_GRAPH.HISTORY_SIZE with a default value to 10.
Group this two lines under an IF statement. And initialize the list if LINE_GRAPH is activated.
Don't really know the dynamic list allocation in python, but there might be a malloc equivalent, or just loop append() method HISTORY_SIZE time... (sorry for bad style/formatting/exact code, but it's hard on the Steam Deck :D ) What do you think about this ? Anyway i'll will test if more deeply saturday or sunday. |
Thanks for reviewing it! Did you really type Python code on a Steam Deck ? 😄 |
No description provided.