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

Pre-factoring in preparation for temporal high water mark reports #383

Merged
merged 3 commits into from
May 22, 2023

Conversation

godlygeek
Copy link
Contributor

Split some code out of #326. These changes lay some of the groundwork for changes in #326, but can be reviewed separately and should be less controversial.

This lets Cython generate very slightly more efficient code for
`curr_record.intervals` by accessing the field from the struct directly,
instead of doing a Python attribute lookup to access it.

Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
Instead of `--temporal-leaks`, users will need to provide two arguments:
`--temporal --leaks`. This is in preparation for allowing temporal high
water mark reports in the future.

Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
This improves readability, and lays the groundwork for allowing
`HighWaterMarkAggregator` to track per-snapshot high water mark
allocations by location.

Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
@pablogsal pablogsal merged commit 7795338 into bloomberg:main May 22, 2023
27 checks passed
@pablogsal
Copy link
Member

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants