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

Avoid recursive copy in ApplpyMetric for cases of a single metric #1329

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dafnapension
Copy link
Collaborator

@dafnapension dafnapension commented Nov 5, 2024

Because that recursive copy is only needed against one metric changing stream contents before another metric is applied.
So overall: payless in time and space for all cases of a single metric.
Earn a few cents in Performance.

@dafnapension dafnapension force-pushed the no_snapshot_on_entrance_to_applymetric branch from 8b1ea27 to 190dfa4 Compare November 5, 2024 21:09
@dafnapension dafnapension changed the title pay in time for saving memory in ApplpyMetric Avoid recursive copy in ApplpyMetric for cases of a single metric Nov 5, 2024
@dafnapension dafnapension force-pushed the no_snapshot_on_entrance_to_applymetric branch 5 times, most recently from 7fe49f5 to 482cf38 Compare November 7, 2024 15:44
…only in cases of two or more metrics, because that recursive copy is only needed against one metric changing stream contents before another metric is applied.

Signed-off-by: dafnapension <[email protected]>
@dafnapension dafnapension force-pushed the no_snapshot_on_entrance_to_applymetric branch from 482cf38 to 7191512 Compare November 15, 2024 08:09
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