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

Fix accumulated values for backdated queries #641

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

Conversation

MichaReiser
Copy link
Contributor

As reported on Zulip

The optimization introduced in #621 doesn't account for queries that get backdated but now have accumulated values (or had accumulated values and now no more).

This PR fixes this regression but I think it needs some cleanup before it can be landed. Specifically, I think the refactor in #636 that moves the AccumulatedInputValues to the memo would be an improvement. I'm happy to follow up on this sometime when I've a little more time or someone else takes it over from here.

Copy link

netlify bot commented Dec 31, 2024

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit d254390
🔍 Latest deploy log https://app.netlify.com/sites/salsa-rs/deploys/6773b25cafe8d5000851fd36

@MichaReiser MichaReiser added the bug Something isn't working label Dec 31, 2024
@MichaReiser MichaReiser force-pushed the fix-accumulators-for-backdated-queries branch 2 times, most recently from 37b9d6e to 4737791 Compare December 31, 2024 08:58
@MichaReiser MichaReiser force-pushed the fix-accumulators-for-backdated-queries branch from 4737791 to d254390 Compare December 31, 2024 08:59
Copy link

codspeed-hq bot commented Dec 31, 2024

CodSpeed Performance Report

Merging #641 will not alter performance

Comparing MichaReiser:fix-accumulators-for-backdated-queries (d254390) with master (88a1d77)

Summary

✅ 9 untouched benchmarks

@Veykril
Copy link
Member

Veykril commented Dec 31, 2024

I agree, the split done in #636 would likely make this look a bit nicer in general (I undrafted that PR now, I am pretty happy with how it looks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants