Skip to content

Optimise demean_rs #928

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

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

Conversation

kinto-b
Copy link

@kinto-b kinto-b commented Jun 5, 2025

Partially addresses #927.

I had a play around with this this evening. The code was already pretty optimised, but I thought I could potentially squeeze a little more juice out of it, so I rearranged a little bit. Not sure the juice was worth the squeeze in this instance? I got about 5% out if we just look at the point estimates

image

Note: I didn't run the full test suite. I just ran the benchmarks.

@kinto-b kinto-b force-pushed the optimise_demean branch from e222fdc to c638fb0 Compare June 5, 2025 20:36
@s3alfisc
Copy link
Member

s3alfisc commented Jun 5, 2025

Sweet! Taking a look now (though I don't think I can do a proper review, getting too late for that =D )

Copy link

codecov bot commented Jun 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Flag Coverage Δ
core-tests 78.61% <ø> (ø)
tests-extended ?
tests-vs-r 15.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants