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

Do not allocate input singleton data for non-singleton inputs #631

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Dec 15, 2024

This does some type shenanigans (unfortunately can't gate on the previously used const as Rust's const story just isn't there yet), to swap the singleton field with () if it's not needed.

Copy link

netlify bot commented Dec 15, 2024

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit fd808c4
🔍 Latest deploy log https://app.netlify.com/sites/salsa-rs/deploys/67909e0e037de500083f7c63

Copy link

codspeed-hq bot commented Dec 15, 2024

CodSpeed Performance Report

Merging #631 will not alter performance

Comparing Veykril:veykril/push-qnsrxyrxzotu (fd808c4) with master (e4d65a6)

Summary

✅ 9 untouched benchmarks

src/input/singleton.rs Outdated Show resolved Hide resolved
@Veykril Veykril force-pushed the veykril/push-qnsrxyrxzotu branch 3 times, most recently from 8b19364 to f033948 Compare January 4, 2025 10:13
@Veykril Veykril force-pushed the veykril/push-qnsrxyrxzotu branch from f033948 to fd808c4 Compare January 22, 2025 07:28
@Veykril
Copy link
Member Author

Veykril commented Jan 23, 2025

I'll go ahead and merge this as I don't think there is anything controversial about this PR and its a minor cleanup (in my eyes)

@Veykril Veykril added this pull request to the merge queue Jan 23, 2025
Merged via the queue into salsa-rs:master with commit 855a31a Jan 23, 2025
10 checks passed
@Veykril Veykril deleted the veykril/push-qnsrxyrxzotu branch January 23, 2025 12:40
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