Commit graph

1762 commits

Author SHA1 Message Date
Lukas Wirth
c8d47cc01a
Merge pull request #635 from Veykril/veykril/push-vktlqysrmlmv
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
Replace unnecessary `Arc` by `Box`
2024-12-23 11:49:09 +00:00
Lukas Wirth
38207e4f8e Store QueryEdges edges in a Box as it is not cloned anyways
Likewise, an empty `Box`ed slice does not allocate so we can remove the `lazy_static` that was needed before
2024-12-23 12:48:49 +01:00
Lukas Wirth
86ab415592 Reduce memo lookups needed for eviction 2024-12-23 12:48:49 +01:00
Lukas Wirth
669cbd8a10 Deduplicate ingredient indexing 2024-12-22 17:36:35 +01:00
David Barsky
0ac5c1c984
Merge pull request #614 from ShoyuVanilla/issue-600
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
Assign memo ingredients per salsa-struct-ingredient
2024-12-18 16:21:47 +00:00
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
Shoyu Vanilla
53c7ebaaf5 Run rustfmt 2024-12-19 00:55:52 +09:00
Niko Matsakis
7aa1518beb
Apply suggestions from code review 2024-12-18 10:08:32 -05: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
Shoyu Vanilla
38ad6555eb Clean up code a bit 2024-11-20 10:19:28 +09:00
Shoyu Vanilla
738d5f9403 Fix clippy 2024-11-15 01:46:08 +09:00
Shoyu Vanilla
d34ed1495e Add a test for tracked function with multiple salsa struct args 2024-11-15 01:41:18 +09:00
Shoyu Vanilla
2cae1ef5bb Modify struct ingredient lookups 2024-11-15 01:40:45 +09:00
Shoyu Vanilla
fac6053761 Assign memo ingredients per salsa-struct-ingredient 2024-11-14 00:01:05 +09: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