Commit graph

1750 commits

Author SHA1 Message Date
Lukas Wirth
803d4a0714
Merge pull request #634 from Veykril/veykril/push-psprrykkzwvo
Fix `Lookup<Vec<T>>` impls
2024-12-18 16:19:43 +00:00
Lukas Wirth
f04d64537b Fix Lookup<Vec<T>> impls 2024-12-17 16:50:53 +01:00
David Barsky
3c7f1694c9
Merge pull request #628 from Veykril/veykril/push-sqqurotonstp
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
Replace `Page` data Vec with boxed fixed array
2024-12-16 21:59:39 +00:00
David Barsky
f6b40b0815
Merge pull request #630 from Veykril/veykril/push-mwwmzmpskxnr
Some checks are pending
Book / Book (push) Waiting to run
Book / Deploy (push) Blocked by required conditions
Test / Test (push) Waiting to run
Test / Miri (push) Waiting to run
Test / Benchmarks (push) Waiting to run
Give Durability niches
2024-12-16 16:33:54 +00:00
Lukas Wirth
7efee656b7 Runtime::revisions does not need to be boxed
Runtime is contained within Zalsa which is Arc'd anyways.
2024-12-15 14:18:58 +01:00
Lukas Wirth
7e367045e9 Give Durability niches 2024-12-15 14:18:58 +01:00
Lukas Wirth
1eaf262703 Move asserts to index construction 2024-12-15 13:48:56 +01:00
Lukas Wirth
0b57bf752e Replace AtomicCell<usize> with AtomicUsize 2024-12-15 13:48:56 +01:00
Lukas Wirth
a861b14abe Replace Page data Vec with boxed fixed array 2024-12-15 13:48:56 +01:00
Lukas Wirth
5cd2b63ef0
Merge pull request #624 from Veykril/veykril/push-lrwklvvsooqp
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
Remove unnecessary `Option` from `ZalsaLocal::query_stack`
2024-12-13 14:42:54 +00:00
Lukas Wirth
ac40e4cf44 Remove unnecessary Option from ZalsaLocal::query_stack 2024-12-13 15:15:14 +01:00
Lukas Wirth
f65ac4b4c3 Deduplicate QueryStack prefix trimming 2024-12-13 15:09:26 +01:00
Lukas Wirth
f4ea167614
Merge pull request #627 from Veykril/veykril/push-vypmluoqzkkx
Some simplifications
2024-12-13 14:01:38 +00:00
Lukas Wirth
54a147b61a Turn Runtime::revisions from Vec to Box<FixedArray> 2024-12-13 14:28:58 +01:00
Lukas Wirth
b565476952 Remove unused Runtime::next_id field 2024-12-13 14:28:58 +01:00
Lukas Wirth
d5361c48f4 Replace AtomicCell<bool> with AtomicBool 2024-12-13 14:28:58 +01:00
Lukas Wirth
b0cc7dc73c
Merge pull request #625 from Veykril/veykril/push-uktpowyttzon
Fix CI
2024-12-13 12:50:51 +00:00
Lukas Wirth
cbd84b5b4b Bump expect-test to 1.5.0, annotate-snippets to 0.11.5 2024-12-13 13:48:59 +01:00
Micha Reiser
c2a6d6238e
Merge pull request #622 from MichaReiser/small-accumulator-perf
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
Approximate sizes of `stack` and `visisted` when collecting accumulated values
2024-12-06 17:04:27 +00:00
Micha Reiser
5314d4ccc9
Use inputs_outputs len as approximation 2024-12-04 10:34:07 +01:00
Micha Reiser
8f6dcaf632
Avoid unnecessary resizes of visisted set 2024-12-04 10:17:09 +01:00
Micha Reiser
e68679b3a9
Merge pull request #615 from MichaReiser/micha/faster-accumulators
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
Faster accumulators
2024-12-03 14:59:51 +00:00
Micha Reiser
76079d2e88
Skip over queries without accumulated values 2024-12-03 15:42:02 +01:00
Micha Reiser
297dd2bb32
Add accumulator benchmark 2024-12-03 15:09:23 +01:00
Micha Reiser
b7331d9e48
Merge pull request #619 from ofek/patch-1
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
Fix broken link in README.md
2024-12-02 07:49:09 +00:00
Ofek Lev
68e026b541
Fix broken link in README.md 2024-12-01 15:22:46 -05:00
David Barsky
2c117755ca
Merge pull request #568 from salsa-rs/davidbarsky/push-lqummkkxvkzn
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
introduce parallel salsa
2024-11-25 17:31:28 +00:00
David Barsky
db7274ecb0 internal: ignore parallel tests under miri 2024-11-25 11:46:03 -05:00
David Barsky
5f0904ae4a introduce parallel salsa 2024-11-25 11:29:24 -05:00
David Barsky
3b7246ba9f chore: set MIRIFLAGS to -Zmiri-disable-isolation -Zmiri-retag-fields 2024-11-25 11:29:24 -05:00
Micha Reiser
32f8ee9cd4
Merge pull request #616 from MichaReiser/upgrade-codspeed
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
Upgrade codspeed github action to v3
2024-11-20 08:19:52 +00:00
Micha Reiser
2a7a71d7b0
Upgrade codspeed github action to v3 2024-11-20 09:17:14 +01:00
David Barsky
e4d36daf2d
Merge pull request #612 from Veykril/veykril/push-lkqxvrqmzkoy
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (false, beta) (push) Has been cancelled
Test / Test (false, stable) (push) Has been cancelled
Test / Test (true, nightly) (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
Emit struct in `#[tracked]` fn last for better IDE support
2024-11-07 15:48:43 +00:00
David Barsky
b0fafce5a5
Update components/salsa-macro-rules/src/setup_tracked_fn.rs 2024-11-07 10:36:02 -05:00
Lukas Wirth
842abe5c27 Emit struct in #[tracked] fn last for better IDE support 2024-11-02 18:01:59 +01:00
Lukas Wirth
dfbe6d67f4
Merge pull request #608 from gvozdvmozgu/update-impl-infallible
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (false, beta) (push) Has been cancelled
Test / Test (false, stable) (push) Has been cancelled
Test / Test (true, nightly) (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
add impl `Update` for `std::convert::Infallible`
2024-10-27 08:03:21 +00:00
gvozdvmozgu
8662fc6694 add impl Update for std::convert::Infallible 2024-10-27 00:31:54 -07:00
Niko Matsakis
5eed7e9078
Merge pull request #604 from jhgg/proc-macro-friendliness-for-ra
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (false, beta) (push) Has been cancelled
Test / Test (false, stable) (push) Has been cancelled
Test / Test (true, nightly) (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
salsa-macros: handle invalid inputs in a way friendlier to rust-analyzer
2024-10-25 11:59:24 +00:00
Niko Matsakis
b3b6286409
Merge pull request #606 from Veykril/veykril/push-wpzpkktutxso
Improve the span used for salsa struct constructors
2024-10-25 11:58:46 +00:00
Lukas Wirth
56b7a23f18 Improve the span used for salsa struct constructors 2024-10-25 12:59:55 +02:00
Jake
10d14f0131
fix cargo fmt 2024-10-24 16:47:44 -07:00
Jake
e0febd904a
salsa-macros: handle invalid inputs in a way friendlier to rust-analyzer 2024-10-24 16:37:28 -07:00
Niko Matsakis
254c749b02
Merge pull request #601 from salsa-rs/davidbarsky/push-pyyooxxxuqxx
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (false, beta) (push) Has been cancelled
Test / Test (false, stable) (push) Has been cancelled
Test / Test (true, nightly) (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
chore: ensure salsa-macros have a licence
2024-10-17 22:26:43 +00:00
David Barsky
c3de24ce12 chore: ensure salsa-macros have a licence 2024-10-17 17:37:56 -04:00
Niko Matsakis
710691d607
Merge pull request #596 from ShoyuVanilla/issue-519
Some checks are pending
Book / Book (push) Waiting to run
Book / Deploy (push) Blocked by required conditions
Test / Test (false, beta) (push) Waiting to run
Test / Test (false, stable) (push) Waiting to run
Test / Test (true, nightly) (push) Waiting to run
Test / Miri (push) Waiting to run
Test / Benchmarks (push) Waiting to run
fix: Inconsistent behaviour with lifetime elision on tracked fn
2024-10-17 14:55:02 +00:00
Niko Matsakis
82f2a7d1b9
Merge pull request #591 from puuuuh/typeid_mismatch_fix
Add IngredientIndex to KeyStruct
2024-10-17 14:53:39 +00:00
puuuuh
0744fd8cb0
Rename DisambiguationKey to IdentityHash, KeyStruct to Identity 2024-10-17 15:50:13 +03:00
Shoyu Vanilla
57f38aa84b fix: Inconsistent behaviour with lifetime elision on tracked fn 2024-10-17 01:02:32 +09:00
puuuuh
acae02d418
Use named struct for disambiguation key 2024-10-15 21:14:59 +03:00
puuuuh
60208fa80e
Fmt, lints 2024-10-15 21:14:58 +03:00