-
Notifications
You must be signed in to change notification settings - Fork 913
Changed time-averaging algorithm to reduce performance impact. #1548
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
Conversation
update master
Update master
…which sets the appropriate private field. - COutput constructor now pre-initializes the ´windowedTimeAverages´ map with ´CWindowAverage` objects. - CWindowedAverage.addValue() now caches weighted sums from previous timesteps and does not save samples for rectangular windows.
…erages. They are already up to date.
|
This pull request introduces 1 alert when merging 11a4e6b into 5b12ac7 - view on LGTM.com new alerts:
|
|
This pull request introduces 1 alert when merging b4a2d7d into 5b12ac7 - view on LGTM.com new alerts:
|
…which sets the appropriate private field. - COutput constructor now pre-initializes the ´windowedTimeAverages´ map with ´CWindowAverage` objects. - CWindowedAverage.addValue() now caches weighted sums from previous timesteps and does not save samples for rectangular windows.
…erages. They are already up to date.
b4a2d7d to
f53a40b
Compare
|
This pull request introduces 1 alert when merging f53a40b into 5b12ac7 - view on LGTM.com new alerts:
|
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
Suggested from code review Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
As suggested from code review Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
From code review Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
|
Before I forget, add yourself to the AUTHORS.md file please (alphabetical order), either your name or github handle as you prefer. |
|
I hope my somewhat chaotic commits did not cause more work for you than they actually contributed. This was my first time using github pull requests and code editing without IDE (usually I use Visual Studio). On the upside I now have everything set up to make possible future constributions a bit more efficient :-) |
|
Not at all this is a nice contribution. It's customary to let the author merge. You can also close issue #1545 after merging. |
Proposed Changes
Give a brief overview of your contribution here in a few sentences.
Related Work
Resolve any issues (bug fix or feature request), note any related PRs, or mention interactions with the work of others, if any.
#1545
PR Checklist
Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.