Commit graph

2113 commits

Author SHA1 Message Date
Carl Meyer
095d8b2b81
rewrite cycle handling to support fixed-point iteration (#603) 2025-03-10 22:25:47 +00:00
github-actions[bot]
9ebc8a3913
chore: release v0.19.0 (#698)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-10 15:09:26 +01:00
Lukas Wirth
6a22568af6
Have salsa not depend on salsa-macros (#750)
That way salsa can build without having to build the proc-macro ecosystem, improving build times for dependants of salsa
2025-03-10 13:44:25 +00:00
Lukas Wirth
8b8a50a3b3
chore: Group versions of packages together for releases (#751) 2025-03-09 19:32:06 +01:00
David Barsky
dbb0e5f6ab
internal: use portable-atomic in IngredientCache to compile on powerpc-unknown-linux-gnu (#749) 2025-03-07 19:46:41 +00:00
Lukas Wirth
9d2a9786c4
perf: Store view downcaster in function ingredients directly (#720)
* Store view downcaster in function ingredients directly

* Embed typecheck into the downcaster

* Force inline `db` proc-macro generated functions

* Skip unnecessary type-id check
2025-03-06 10:39:52 +00:00
Lukas Wirth
ceb9b083b3
perf: Some small perf things (#744)
* Some perf things

* Remove unused `QueryOrigin::BaseInput`
2025-03-05 17:23:24 +00:00
Carl Meyer
3ffc9a2efe
Option::replace instead of std::mem::replace (#746) 2025-03-05 15:58:56 +00:00
Lukas Wirth
7a45da93c2
Cleanup Cargo.tomls (#745) 2025-03-05 15:45:16 +00:00
Lukas Wirth
4d9225342e
Merge pull request #739 from Veykril/veykril/push-zxnlmykttnrx
Drop clone requirement for accumulated values
2025-02-28 08:01:17 +00:00
Lukas Wirth
a57df6c72d Drop clone requirement for accumulated values 2025-02-28 08:41:14 +01:00
Lukas Wirth
9107eebb75
Merge pull request #738 from gvozdvmozgu/update-indexmap
implement `Update` trait for `IndexMap`, and `IndexSet`
2025-02-27 08:41:41 +00:00
gvozdvmozgu
f773432ff9 implement Update trait for IndexMap, and IndexSet 2025-02-27 00:14:59 -08:00
Lukas Wirth
99be5d9917
Merge pull request #737 from davidbarsky/davidbarsky/remove-arc-swap
internal: Replace `arc-swap` with manual `AtomicPtr`
2025-02-26 14:33:02 +00:00
Ibraheem Ahmed
da9a21ce54 fix typo
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2025-02-26 09:07:07 -05:00
Ibraheem Ahmed
327e2f2a87 more correct bounds on Send and Sync implementation DeletedEntries
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2025-02-26 09:04:52 -05:00
Ibraheem Ahmed
2a751d559b replace arc-swap with manual AtomicPtr 2025-02-26 09:04:51 -05:00
Lukas Wirth
26aeeec9b1
Merge pull request #736 from Veykril/veykril/push-mntwomxrrovr
Remove unnecessary `current_revision` call from `setup_interned_struct`
2025-02-26 12:26:38 +00:00
Lukas Wirth
870dbfecef Remove unnecessary current_revision call from setup_interned_struct 2025-02-26 13:08:14 +01:00
Lukas Wirth
2fc72ba7ec
Merge pull request #734 from Veykril/veykril/push-txytyxrsumuu
Add test for durability changes
2025-02-26 09:15:47 +00:00
Lukas Wirth
2680baaa32 Add test for durability changes 2025-02-26 09:30:55 +01:00
Lukas Wirth
5c37082a08
Merge pull request #732 from Veykril/veykril/push-wmyrvtnwwnoy
`#[inline(never)]` queries in benchmarks
2025-02-26 06:19:08 +00:00
Lukas Wirth
325d9aca9e
Merge pull request #731 from Veykril/veykril/push-nzkwqzxxkxou
Remove some dynamically dispatched `Database::event` calls
2025-02-25 21:44:34 +00:00
Lukas Wirth
447b371bd8
Merge pull request #730 from Veykril/veykril/push-orlktsrpwzrv
Don't load `verified_at` twice in `shallow_verify_memo`
2025-02-25 21:44:20 +00:00
Lukas Wirth
897c8b9c40 #[inline(never)] queries in benchmarks 2025-02-25 18:12:23 +01:00
Lukas Wirth
40d4576ebd Remove some dynamically dispatched Database::event calls 2025-02-25 18:10:37 +01:00
Lukas Wirth
4b0d365f81 Don't load verified_at twice in shallow_verify_memo 2025-02-25 18:04:02 +01:00
David Barsky
7d417ac39f
Merge pull request #727 from Veykril/veykril/push-rqvpzyoqspzn
feature: add `#[salsa::supertype]`
2025-02-25 14:30:00 +00:00
Lukas Wirth
31c310f477 Lazy fetching 2025-02-25 11:30:49 +01:00
David Barsky
124e62f4be Merge pull request #3 from Veykril/veykril/push-tynvvyqoltqx 2025-02-25 11:19:01 +01:00
Lukas Wirth
176daec0ab Add small supertype input benchmark 2025-02-25 11:19:01 +01:00
Lukas Wirth
4a1e21bd18 Replace a DashMap with RwLock as writing is rare for it 2025-02-25 11:19:01 +01:00
David Barsky
a1fb5c34de internal: address review comments 2025-02-25 11:19:01 +01:00
Lukas Wirth
009b7dcae5 Skip memo ingredient index mapping for non enum tracked functions 2025-02-25 09:39:11 +01:00
Lukas Wirth
e47c4fe8e9 Trade off a bit of memory for more speed in MemoIngredientIndices 2025-02-25 09:37:28 +01:00
Chayim Refael Friedman
9c12fce24b fix enums bug 2025-02-25 09:36:36 +01:00
Chayim Refael Friedman
6134aaf2b5 Introduce Salsa enums
They are of the form:
```
enum Enum {
    Input(Input),
    Interned(Interned),
    ...
}
```
2025-02-25 09:36:36 +01:00
Lukas Wirth
0177525071
Merge pull request #726 from Veykril/veykril/push-pxwurqurpxry
Fix book deployment take 2
2025-02-24 16:08:50 +01:00
Lukas Wirth
6e768ad7ca Fix book deployment take 2 2025-02-24 16:05:24 +01:00
Lukas Wirth
6478406cd9
Merge pull request #725 from Veykril/veykril/push-plmkuomkutky
Use jemalloc in benches with decay disabled
2025-02-24 14:10:43 +00:00
Lukas Wirth
69d8690aa2
Merge pull request #724 from Veykril/veykril/push-lktnrzlxyolu
Fix book deployment
2025-02-24 14:58:32 +01:00
Lukas Wirth
b195eb6c80 Disable jemalloc decay in benches 2025-02-24 14:38:16 +01:00
Lukas Wirth
38b897674a
Merge pull request #723 from Veykril/veykril/push-mkuoswozrqov
Cancel duplicate test workflow runs
2025-02-24 11:59:48 +00:00
Lukas Wirth
bf74e3d459 Fix book deployment 2025-02-24 12:53:41 +01:00
Lukas Wirth
af3fae98c6 Cancel duplicate test workflow runs 2025-02-24 12:39:38 +01:00
Lukas Wirth
a8858a2a6a
Merge pull request #709 from MichaReiser/avoid-tracking-revisions-for-untracked-fields
Track revisions for tracked-fields only
2025-02-24 11:22:31 +00:00
Micha Reiser
e1884ba2f1
Track revisions for tracked fields only 2025-02-23 18:21:34 +01:00
Lukas Wirth
687251fb50
Merge pull request #722 from gvozdvmozgu/update-hashbrown
implement `Update` trait for `hashbrown::HashMap`
2025-02-23 16:39:08 +00:00
Micha Reiser
234ad9ad1f
Merge pull request #708 from MichaReiser/fix-tracked-struct-dependency
Fix incorrect query caching for recycled tracked structs
2025-02-23 16:32:44 +00:00
gvozdvmozgu
621e75f295 implement Update trait for hashbrown::HashMap 2025-02-23 08:20:35 -08:00