Micha Reiser
05a9af7f55
Call cycle_fn for every iteration ( #1021 )
...
Book / Book (push) Has been cancelled
Release-plz / Release-plz release (push) Has been cancelled
Release-plz / Release-plz PR (push) Has been cancelled
Test / Test (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Shuttle (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
* Call `cycle_fn` for every iteration
* Update documentation
* Clippy
* Remove `CycleRecoveryAction`
2025-11-05 12:37:23 +00:00
Shunsuke Shibayama
76e65b1890
doc: Explain the motivation for breaking API changes made in #1012 and #1015 ( #1016 )
...
Book / Book (push) Waiting to run
Test / Miri (push) Waiting to run
Test / Shuttle (push) Waiting to run
Book / Deploy (push) Blocked by required conditions
Release-plz / Release-plz release (push) Waiting to run
Release-plz / Release-plz PR (push) Waiting to run
Test / Benchmarks (push) Waiting to run
Test / Test (push) Waiting to run
* doc: Explain the motivation for breaking API changes made in #1012 and #1015
* Update book/src/cycles.md
---------
Co-authored-by: Micha Reiser <micha@reiser.io>
2025-10-29 13:33:51 +00:00
Micha Reiser
d38145c295
Expose the query ID and the last provisional value to the cycle recovery function ( #1012 )
...
Test / Shuttle (push) Has been cancelled
Release-plz / Release-plz release (push) Has been cancelled
Test / Test (push) Has been cancelled
Test / Miri (push) Has been cancelled
Book / Book (push) Has been cancelled
Release-plz / Release-plz PR (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
* Expose the query ID and the last provisional value to the cycle recovery function
* Mark cycle as converged if fallback value is the same as the last provisional
* Make `cycle_fn` optional
2025-10-23 06:36:56 +00:00
Carl Meyer
3713cd7eb3
Allow fallback to take longer than one iteration to converge ( #991 )
Release-plz / Release-plz PR (push) Has been cancelled
Release-plz / Release-plz release (push) Has been cancelled
Test / Test (push) Has been cancelled
Book / Book (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Shuttle (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
2025-09-10 19:18:30 +00:00
Wilco Kusee
9489764ad9
chore: Remove jar mentions from book ( #775 )
...
* Remove references to jar terminology
* Update or remove invalid code links in book
2025-05-22 09:34:29 +02:00
CheaterCodes
13a2bd7461
Changed return_ref syntax to returns(as_ref) and returns(cloned) ( #772 )
...
* Changed `return_ref` syntax to `returns(as_ref)` and `returns(cloned)`
* Implement
* renamed module for return_mode
* Rename macro, fix docs, add tests, validate return modes
* Cargo fmt
---------
Co-authored-by: Micha Reiser <micha@reiser.io>
2025-05-09 07:28:54 +00:00
Ibraheem Ahmed
a86db59e99
Enable Garbage Collection for Interned Values ( #602 )
...
* remove table-wide dependencies
* add plumbing to reuse interned slots
* record durabilities on interned values
* appease clippy
* remove immortal interned value logic
* pass correct revision when tracking interned reads
* force new revision when resetting interned values
* avoid unnecessary calls to `Database::zalsa`
* add log events for value internment
* Only log event kind because thread id can differ between runs/computers
* cargo fmt
---------
Co-authored-by: Micha Reiser <micha@reiser.io>
2025-03-17 09:23:14 +00:00
Carl Meyer
095d8b2b81
rewrite cycle handling to support fixed-point iteration ( #603 )
2025-03-10 22:25:47 +00:00
Bruce Mitchener
511aabac97
Reduce typo count
2025-02-20 12:06:12 +07:00
Niko Matsakis
cd35eb2bc7
Update book/src/overview.md
...
Co-authored-by: David Barsky <me@davidbarsky.com>
2025-01-22 05:40:49 -05:00
Patrick Marks
e456424bb3
Out of date comment in overview
...
*Like* an input, the new for a tracked struct only requires a &-reference to the database:
2025-01-21 15:40:39 +01: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
Carl Meyer
2ea6759b0f
[book] fix the cycle fallback section to match current code
2024-07-24 20:32:22 -07:00
Matthijs Brobbel
d65914b9ad
Merge branch 'master' into remove-old-salsa
2024-06-18 13:00:17 +02:00
Matthijs Brobbel
d0e9b79e6a
Remove references to old selection example
2024-06-18 10:39:26 +02:00
Matthijs Brobbel
a0d7b0ee55
Fix book deployment
2024-06-18 10:35:36 +02:00
Matthijs Brobbel
0f2d5a516c
More book updates and a compile fail test fix
2024-06-18 10:03:53 +02:00
Matthijs Brobbel
b3838b1ca7
Update book
2024-06-18 09:59:17 +02:00
Noah Lev
5b99535837
book: Creating inputs no longer requires &mut dyn Db
...
This was changed in #404 .
2024-06-17 13:09:19 -07:00
Niko Matsakis
1544ee97ce
Apply suggestions from code review
...
Co-authored-by: Micha Reiser <micha@reiser.io>
Co-authored-by: Ryan Cumming <etaoins@gmail.com>
Co-authored-by: David Barsky <me@davidbarsky.com>
2024-06-15 06:09:10 -04:00
Niko Matsakis
ab9aa3ac08
WIP: start writing a safety chapter
...
Still debating the best structure, so the contents
are rather scattershot.
I may have found a hole, but it's...obscure
and I'm comfortable with it for the time being,
though I think we want to close it eventually.
2024-06-13 08:05:16 -04:00
Niko Matsakis
af2c9737a9
rework tutorial a bit to be more up to date
2024-06-11 05:36:45 -04:00
Niko Matsakis
0b8c27bc30
rename from TrackedStruct to just Struct
...
this will let us use different packages
but the same struct name from salsa struct
2024-05-24 07:16:50 -04:00
Niko Matsakis
225a81ae8f
update docs to mention durability
2024-05-24 07:15:40 -04:00
Niko Matsakis
05b4e3ebdc
Merge pull request #419 from kmicklas/mixed-cycle-fallback-docs
...
Remove inaccurate note about mixed cycles failing to recover
2024-04-24 14:26:41 +00:00
Niko Matsakis
3a15db7f36
book chapter
2024-04-02 06:08:55 -04:00
Nodir Turakulov
eeac4f8d33
Implementing the Default trait
2024-01-08 18:25:30 -08:00
Niko Matsakis
f1d318a279
Merge pull request #450 from DropDemBits/placement-new-jars
...
Initialize jars in-place
2023-11-09 10:25:26 +00:00
XFFXFF
fa4dc3ccfe
update the link to old salsa
2023-10-29 10:05:08 +08:00
XFFXFF
c3a979f72c
deploy both the latest and specified older version of salsa book
2023-10-29 10:02:29 +08:00
xffxff
739d0da4e3
add a link to the old version of Salsa in the document
2023-10-29 10:02:08 +08:00
DropDemBits
f1a141a6c0
Update "Jars and Ingredients" to reflect the in-place init changes
2023-06-18 00:13:54 -04:00
Per Vognsen
d817d14d1e
Update videos.md with architecture walkthrough
2023-02-03 17:45:17 +07:00
Ken Micklas
2aea083877
Remove inaccurate note about mixed cycles failing to recover
...
This may have been true in the past, but both the Salsa 2022 and original tests demonstrate recovery from a cycle where only a subset of the cycle queries have recovery functions.
2022-10-02 10:40:59 +01:00
Devin Jeanpierre
71c1d2e48e
Correct docs to refer to #[salsa::cycle]
...
Judging by the examples, `recover` is an outdated name.
E.g. https://github.com/salsa-rs/salsa/blob/master/tests/cycles.rs
2022-09-16 11:10:06 +00:00
Jack Rickard
0403696c4e
Update on-demand input docs
2022-09-16 00:14:54 +01:00
Jack Rickard
28987ed733
Move calc and lazy-input examples to examples-2022
2022-09-16 00:14:44 +01:00
zjp
549f831e70
fix typos
2022-09-02 22:44:41 +08:00
Jack Rickard
6febfdac8f
Fix derived-query-read diagram in the book
...
This fixes the sort order of the backgrounds in the derived query read
diagram so that the flowchart is legible.
2022-08-28 12:17:43 +01:00
Sean Chen
5aefc92d61
Remove links to removed RFCs
2022-08-25 09:23:59 -05:00
Sean Chen
2114c8ae0c
Remove RFCs section of the book
2022-08-25 08:55:22 -05:00
bors[bot]
5c63715a95
Merge #381
...
381: fix typos r=nikomatsakis a=Aadamandersson
Co-authored-by: Adam Andersson <adam.m.andersson@gmail.com>
2022-08-25 10:34:44 +00:00
Adam Andersson
18507f2ff7
fix some typos
2022-08-24 21:12:58 +02:00
Sean Chen
b9bd1462cb
Fix a merge conflict
2022-08-24 12:01:45 -05:00
Sean Chen
f2aff84b73
Merge branch 'master' of https://github.com/seanchen1991/salsa
2022-08-24 09:40:14 -05:00
Sean Chen
6eaab4f9b5
Incorporate PR feedback
2022-08-24 09:40:09 -05:00
Sean Chen
6995da0678
Expand on what dyn-safe means
...
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2022-08-24 09:39:28 -05:00
Andrzej Głuszak
e3f09fa122
Update book
2022-08-23 23:33:14 +02:00
Sean Chen
f4bf1626e1
Miscellaneous book revisions
2022-08-23 14:55:57 -05:00