Commit graph

1626 commits

Author SHA1 Message Date
Niko Matsakis
188f759555 use table for tracked structs and their fields
This also retools a tiny bit how deletion works.
We will reuse ids faster than before, actually.
2024-08-20 10:09:49 -04:00
Niko Matsakis
01d4ef86b2 introduce Table and use for interned values 2024-08-20 10:09:49 -04:00
Niko Matsakis
a27befeeba run tests with UPDATE_EXPECT=1 2024-08-20 10:09:49 -04:00
Niko Matsakis
5cb519852b hex Id printouts 2024-08-20 10:09:49 -04:00
David Barsky
08820ea674
Merge pull request #525 from davidbarsky/master
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
internal: add some initial input benchmarks
2024-08-13 14:44:50 +00:00
David Barsky
0557605cb8 internal: add some initial input benchmarks 2024-08-13 10:38:38 -04:00
Niko Matsakis
4657ac3a0d Revert "introduce Table and use for interned values"
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
This reverts commit 9a3111ce27.
2024-08-11 08:04:47 +03:00
Niko Matsakis
9a3111ce27 introduce Table and use for interned values
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
2024-08-08 18:25:06 +03:00
Niko Matsakis
0c1d8b6dbd
Merge pull request #559 from MichaReiser/setter-preserve-durability
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
Preserve durability when setting a new input-value
2024-08-08 11:38:02 +00:00
Niko Matsakis
04a1e32a5a
Merge pull request #560 from MichaReiser/reduce-tracing-verbosity
Reduce tracing output of memo
2024-08-08 11:37:37 +00:00
Micha Reiser
e994e7fae0
Reduce tracing output of memo 2024-08-08 09:23:14 +02:00
Micha Reiser
c4fee35157
Preserve durability when setting a new input-value 2024-08-07 09:08:03 +02:00
Niko Matsakis
05c7fbea45
Merge pull request #528 from carljm/fix-book-cycle-fallback
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
[book] fix the cycle fallback section to match current code
2024-08-07 06:06:33 +00:00
Niko Matsakis
b098f922bd
Merge pull request #555 from MichaReiser/append-only-vec
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
Replace `orx-concurrent-vec` with `append-only-vec`
2024-08-06 16:34:28 +00:00
Micha Reiser
4c8e52a89e
Merge pull request #543 from MichaReiser/input-builder
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
Introduce `Input::builder` API
2024-08-06 07:06:12 +00:00
Micha Reiser
547663f7a5
Fix clippy warnings 2024-08-06 08:56:06 +02:00
Micha Reiser
fbc7b8c544
Move Builder::new impl out of Configuration::builder method 2024-08-06 08:53:03 +02:00
Micha Reiser
0848b78d90
Add #[must_use] attribute 2024-08-06 08:47:59 +02:00
Micha Reiser
17a2f6b2ca
Add support for [#default] and setting field-level durability 2024-08-06 08:47:57 +02:00
Micha Reiser
632faff5a6
Implement inputs builder 2024-08-06 08:44:12 +02:00
Micha Reiser
9fe39364e1
Fix clippy warnings 2024-08-05 18:41:53 +02:00
Niko Matsakis
9964c8e834
Merge branch 'master' into append-only-vec 2024-08-05 12:38:33 -04:00
Micha Reiser
d6df21fba1
Merge pull request #557 from MichaReiser/high-durability-write
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 query invalidation when high durability input changes
2024-08-05 16:36:21 +00:00
Niko Matsakis
c830be20f2
Merge pull request #549 from obsgolem/fix_warning
Fixed non_local_definitions warning
2024-08-05 16:36:16 +00:00
Carl Meyer
2979ef5ce7
Merge pull request #544 from carljm/test-log
Add test tracing, fix up comments
2024-08-05 16:34:40 +00:00
Niko Matsakis
973527b620
Merge pull request #551 from carljm/clippy
Add -D warnings to clippy CI
2024-08-05 16:33:14 +00:00
Niko Matsakis
e5954e02b5
Update Cargo.toml 2024-08-05 12:29:55 -04:00
Niko Matsakis
ed576fed25
Merge pull request #556 from gvozdvmozgu/boomphf
remove unused `boomphf` dependency
2024-08-05 16:17:41 +00:00
Carl Meyer
00adc13e89
Add clippy -D warnings to CI 2024-08-05 08:38:56 -07:00
Carl Meyer
56e29b554d
Add test tracing, fix up comments 2024-08-05 08:34:59 -07:00
Micha Reiser
a263dd04ba
Fix query invalidation when high durability input changes 2024-08-05 16:24:39 +02:00
Andrey Nikolaev
ea05d74a90 remove unused boomphf dependency 2024-08-05 11:17:15 +00:00
Niko Matsakis
994c988739
Merge pull request #552 from carljm/debug-stamps
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
Require Debug for C::Stamps
2024-08-05 07:34:35 +00:00
Micha Reiser
4a29bc5374
Replace orx-concurrent-vec with append-only-vec 2024-08-05 08:23:44 +02:00
Niko Matsakis
7bdf51cde2
Merge pull request #538 from nikomatsakis/spindle2
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
New database design
2024-08-04 08:26:45 +00:00
Niko Matsakis
1bce41f5d6 stop ignoring miri
Fixes #520
2024-08-04 04:21:06 -04:00
Niko Matsakis
6ff1975e17 Update components/salsa-macro-rules/src/setup_input_struct.rs
Co-authored-by: Micha Reiser <micha@reiser.io>
2024-08-04 03:05:32 -04:00
Niko Matsakis
118e89ce20 add ingredient_debug_name API 2024-08-04 03:02:28 -04:00
Niko Matsakis
83be1e4877 make the Views type miri-safe
and add more comments
2024-08-04 02:29:16 -04:00
Niko Matsakis
bca9180e05 just cache the index 2024-08-04 02:29:07 -04:00
Niko Matsakis
9f95b37af9 add a justfile for convenience
This should really be synchronized with the
codespaces and github configuration but...
I'm not clever enough to do all that.
2024-08-04 02:23:10 -04:00
Niko Matsakis
cafbe9247b update debug output 2024-08-04 02:22:27 -04:00
Niko Matsakis
4d2ccffddc return to the database-wrapping-storage setup 2024-08-04 02:18:54 -04:00
Carl Meyer
b8ab0f8ba4
Require Debug for C::Stamps 2024-08-02 13:45:04 -07:00
Josiah Bills
49657a4989 Fixed non_local_definitions warning. 2024-08-01 20:09:13 -04:00
Carl Meyer
f65bfe1855
Update expect test output 2024-07-29 19:01:54 -07:00
Carl Meyer
148abe38f6
Add link to example in tests 2024-07-29 09:28:37 -07:00
Carl Meyer
8e2a784b8e
Apply suggestions from code review
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2024-07-29 09:15:47 -07:00
Micha Reiser
12e0741252
Implement DerefMut 2024-07-29 10:25:26 +02:00
Micha Reiser
4995ce0ddc
Relax dependency constraints 2024-07-29 09:58:57 +02:00