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: separate recording from processing, add timestamps #146

Merged
merged 4 commits into from
Nov 26, 2024

Conversation

metacosm
Copy link
Owner

  • fix: remove misleading initial window constructor parameter
  • refactor: OngoingPowerMeasure now records raw measures & timestamps
  • refactor: use BitSet to record non-zero components instead of HashSet

Contrary to what the name implied, this doesn't set an initial size for
measure's underlying array, it fixed that size, which led to errors
if we actually wanted to record more measures.
@metacosm metacosm self-assigned this Nov 26, 2024
@metacosm metacosm merged commit ce6d7b1 into main Nov 26, 2024
3 checks passed
@metacosm metacosm deleted the raw-measures branch November 26, 2024 18:31
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.

1 participant