Commit graph

1791 commits

Author SHA1 Message Date
David Barsky
7ca96953b7
Merge pull request #651 from davidbarsky/davidbarsky/expose-unwind-if-revision-cancelled
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
feature: expose `Database::unwind_if_revision_cancelled`
2025-01-07 22:36:06 +00:00
David Barsky
c76e4d7d5a expose Database::unwind_if_revision_cancelled 2025-01-07 12:06:52 -05:00
Niko Matsakis
639fd29935
Merge pull request #652 from Veykril/veykril/push-zsooqlqtvrtr
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
Describe deadlock risk for assemble closure in interning
2025-01-07 16:17:36 +00:00
Lukas Wirth
16b747b34f Describe deadlock risk for assemble closure in interning 2025-01-07 14:51:12 +01:00
Niko Matsakis
b0623c0c60
Merge pull request #633 from Veykril/veykril/push-xxyqmmxqtpsl
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
Implement self-referential/subset key interning
2025-01-06 19:17:26 +00:00
Lukas Wirth
28d95f237b
Merge pull request #648 from Veykril/veykril/push-wltsrnxssltn
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
Simplify Event construction
2025-01-05 17:31:42 +00:00
Lukas Wirth
266f620140 Simplify Event construction 2025-01-05 13:00:20 +01:00
Lukas Wirth
638a094168
Merge pull request #646 from Veykril/veykril/push-vulksuymvxot
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
Remove panicking paths from `maybe_changed_after`
2025-01-05 10:33:08 +00:00
Lukas Wirth
1b51d4d248 Remove panicking paths from maybe_changed_after 2025-01-05 11:29:40 +01:00
Lukas Wirth
38ddd63865
Merge pull request #644 from Veykril/veykril/push-ltpvwpwqwkwn
Remove unreachable unwraps via typing
2025-01-05 09:48:19 +00:00
Lukas Wirth
189fc09055 Remove PartialOrd, Ord implementations from keys
They do not have a clear ordering so we shouldn't expose such
2025-01-05 10:43:59 +01:00
Lukas Wirth
5943356eb9
Merge pull request #645 from Veykril/veykril/push-lylvllzxsmkr
Remove unnecessary `Option` around `Storage::zalsa_impl`
2025-01-05 09:36:25 +00:00
Lukas Wirth
8952c4d940 Remove unnecessary Option around Storage::zalsa_impl
We can enforce the drop order via generated drop glue instead.
2025-01-05 10:36:13 +01:00
Lukas Wirth
613fade99f Remove unreachable unwraps via typing 2025-01-04 15:47:36 +01:00
Lukas Wirth
fa565f9c26 Make QueryEdge an enum 2025-01-04 15:23:31 +01:00
Lukas Wirth
153bdb42c5 Type QueryEdge 2025-01-04 15:12:21 +01:00
Lukas Wirth
30026c8301 Encapsulate DependencyIndex 2025-01-04 15:05:12 +01:00
Lukas Wirth
6c0dd82119
Merge pull request #643 from Veykril/veykril/push-xkzvyxqwxurm
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
Fix compare benchmarks not benching the right things
2025-01-04 13:34:22 +00:00
Lukas Wirth
99568baff8 Fix mutating benchmark benching more than just mutation 2025-01-04 14:27:27 +01:00
Lukas Wirth
016094c9ec Use proper setup for compare benches 2025-01-04 14:22:55 +01:00
Lukas Wirth
418e6ea838 Fix benchmarks accidentally re-using the same database 2025-01-04 13:49:10 +01:00
Lukas Wirth
f2f9e115c2 Cleanup 2025-01-04 11:12:57 +01:00
Lukas Wirth
cc4cc1e6ae Add self-ref test 2025-01-04 11:03:11 +01:00
Lukas Wirth
f428a94a9f Split Lookup into two traits 2025-01-04 11:03:11 +01:00
Lukas Wirth
0a5993fe34 Implement self-referential interning 2025-01-04 11:03:11 +01:00
Lukas Wirth
32bd57c23f
Merge pull request #642 from Veykril/veykril/push-xvqwlzlvnptp
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
Improve safety comments on function/fetch
2025-01-04 09:41:06 +00:00
Lukas Wirth
63c367b487 Improve safety comments on function/fetch 2025-01-04 10:40:12 +01:00
David Barsky
88a1d7774d
Merge pull request #637 from Veykril/veykril/push-pqxwpkxprotm
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 parallel_map::execute_cancellation test
2024-12-23 16:15:20 +00:00
Lukas Wirth
87fdc13d4f Fix parallel_map::execute_cancellation test 2024-12-23 17:11:46 +01:00
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