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

No-op LRU impl for non-lru tracked functions #664

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Jan 31, 2025

This change allows us to omit LRU state from function ingredients when they don't actually have LRU support as well as remove the Option wrapping for functions that don't do LRU.

This should have a very minor speed and memory improvement in theory as it removes some unnecessary branching and option wrapping.

This was split out of #660

This change allows us to omit LRU state from function ingredients when they don't actually have LRU support.
Copy link

netlify bot commented Jan 31, 2025

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit 6b38429
🔍 Latest deploy log https://app.netlify.com/sites/salsa-rs/deploys/679c9fe5280ba7000886cae7

Copy link

codspeed-hq bot commented Jan 31, 2025

CodSpeed Performance Report

Merging #664 will not alter performance

Comparing Veykril:veykril/push-pkruxnvrouko (6b38429) with master (8c49bb0)

Summary

✅ 9 untouched benchmarks

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