salsa-rs
salsa
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Fix nightly Clippy
ChayimFriedman2:intern-with-id
1 day ago
Allow create self-referential interneds without replicating the macro's work The main change is that now `Lookup` takes a `salsa::Id` representing the `Id` for the to-be-created struct. But for that to work, I also made some other changes: - The order of `HashEqLike` was reversed. Previously it was `<Owned as HashEqLike<Borrowed>>`, now it's `<Borrowed as HashEqLike<Owned>>`, matching `Lookup`. - It's now possible to put `#[no_eq]` on an interned field to exempt them from hashing & equality checks (`#[no_eq]` on tracked structs doesn't change hashing. I think this is a bug we need to fix, but didn't touch it). - That in turns mean that we can no longer use a tuple for the fields and have to use a custom struct.
ChayimFriedman2:intern-with-id
1 day ago
Allow create self-referential interneds without replicating the macro's work The main change is that now `Lookup` takes a `salsa::Id` representing the `Id` for the to-be-created struct. But for that to work, I also made some other changes: - The order of `HashEqLike` was reversed. Previously it was `<Owned as HashEqLike<Borrowed>>`, now it's `<Borrowed as HashEqLike<Owned>>`, matching `Lookup`. - It's now possible to put `#[no_eq]` on an interned field to exempt them from hashing & equality checks (`#[no_eq]` on tracked structs doesn't change hashing. I think this is a bug we need to fix, but didn't touch it). - That in turns mean that we can no longer use a tuple for the fields and have to use a custom struct.
ChayimFriedman2:intern-with-id
1 day ago
chore: Update taiki-e/install-action action to v2.86.6 (#1303) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
master
3 days ago
chore: Update taiki-e/install-action action to v2.86.6
renovate/taiki-e-install-action-2.x
4 days ago
chore: Update Rust crate ordered-float to v5.5.0
renovate/ordered-float-5.x
5 days ago
chore: Update taiki-e/install-action action to v2.86.5
renovate/taiki-e-install-action-2.x
5 days ago
Allow retuning a tracked fn's LRU capacity by ingredient name The generated set_lru_capacity is private to the module that declares the tracked function, and for an associated tracked function the macro emits it inside the body of the outer function, where nothing can reach it at all. That leaves no way to retune the queries that actually hold memory in a long-lived process, and it is why rust-analyzer's update_lru_capacities has been dead since the salsa transition. Ingredients are reachable through the registry and debug_name gives them addresses, so add the missing route there: Ingredient::set_lru_capacity / has_tunable_lru_capacity EvictionPolicy::has_tunable_capacity (Lru overrides, Noop keeps the default) Zalsa::set_lru_capacity_by_name / lru_ingredient_names Database::set_lru_capacity_by_name / lru_capacity_names set_capacity alone could not carry this: it is a no-op on NoopEviction, so a caller walking the registry could not tell capacity-applied from this-query- has-no-LRU. Hence the explicit tunability question and a count of retuned ingredients rather than a bool - names are not unique across crates. Two tests. The first is a positive control: retuning by name must move the same memos the direct setter moves, checked by live-value count across an eviction, including that the floor is 1 because 0 disables eviction. The second pins that a typo and an uncapped query both answer zero rather than reading as success. Verified by mutation - dropping the set_capacity call while still returning true fails the first test at its positive control and leaves the four pre-existing tests green, so nothing else covers this path.
enomado:lru-capacity-by-name
6 days ago
Latest Branches
CodSpeed Performance Gauge
+5%
Allow create self-referential interneds without replicating the macro's work
#1306
1 day ago
df5f589
ChayimFriedman2:intern-with-id
CodSpeed Performance Gauge
+10%
chore: Update taiki-e/install-action action to v2.86.6
#1303
4 days ago
2f98abb
renovate/taiki-e-install-action-2.x
CodSpeed Performance Gauge
+3%
chore: Update Rust crate ordered-float to v5.5.0
#1305
5 days ago
0685c38
renovate/ordered-float-5.x
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs