Skip to content

LRU eviction at revision bump#684

Merged
Veykril merged 2 commits intosalsa-rs:masterfrom
Veykril:veykril/push-xusnvnkytwzu
Feb 12, 2025
Merged

LRU eviction at revision bump#684
Veykril merged 2 commits intosalsa-rs:masterfrom
Veykril:veykril/push-xusnvnkytwzu

Conversation

@Veykril
Copy link
Member

@Veykril Veykril commented Feb 12, 2025

This change makes us LRU evict once a new revision starts, instead of at the very moment we reach the limit while computing tracked functions.

This change makes us LRU evict once a new revision starts, instead of at the very moment we reach the limit while computing tracked functions.
Notably the previous behavior was unsound as we were immediately clearing the value (without going through the delayed deletion buffer) while there could have been outstanding references.
@netlify
Copy link

netlify bot commented Feb 12, 2025

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit f2c9cb5
🔍 Latest deploy log https://app.netlify.com/sites/salsa-rs/deploys/67ac6f7e5e329f000849cf1a

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 12, 2025

CodSpeed Performance Report

Merging #684 will not alter performance

Comparing Veykril:veykril/push-xusnvnkytwzu (f2c9cb5) with master (ff3ef18)

Summary

✅ 9 untouched benchmarks

Callers of these functions need to ensure that the value will be dropped when the revision ends
@Veykril Veykril force-pushed the veykril/push-xusnvnkytwzu branch from 4b84e90 to f2c9cb5 Compare February 12, 2025 09:53
@Veykril Veykril added this pull request to the merge queue Feb 12, 2025
Merged via the queue into salsa-rs:master with commit 84b361f Feb 12, 2025
9 checks passed
@Veykril Veykril deleted the veykril/push-xusnvnkytwzu branch February 12, 2025 10:23
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