Skip to content

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

Closed
Veykril wants to merge 3 commits intosalsa-rs:masterfrom
Veykril:veykril/push-pkruxnvrouko
Closed

No-op LRU impl for non-lru tracked functions#664
Veykril wants to merge 3 commits intosalsa-rs:masterfrom
Veykril:veykril/push-pkruxnvrouko

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.
@netlify
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

@codspeed-hq
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

@Veykril Veykril marked this pull request as draft February 17, 2025 12:24
@Veykril Veykril closed this Apr 21, 2025
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