Commit graph

5 commits

Author SHA1 Message Date
Ibraheem Ahmed
a0e7a0660c
refactor entries API (#987)
Some checks failed
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
Book / Book (push) Has been cancelled
Test / Shuttle (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
2025-08-22 21:54:46 +00:00
Ibraheem Ahmed
fb4cb24cea
Persistent caching fixes (#982)
Some checks are pending
Book / Book (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 / Test (push) Waiting to run
Test / Miri (push) Waiting to run
Test / Shuttle (push) Waiting to run
Test / Benchmarks (push) Waiting to run
* reduce `serde` overhead

* avoid adding dependencies on interned values where garbage collection is disabled

* add compatibility with non-self-describing `serde` formats

* reuse edge traversal allocation

* correctly deserialize singleton inputs
2025-08-19 20:48:30 +00:00
Ibraheem Ahmed
34882a129b
Flatten unserializable query dependencies (#975)
Some checks are pending
Test / Miri (push) Waiting to run
Test / Shuttle (push) Waiting to run
Test / Benchmarks (push) Waiting to run
Book / Book (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 / Test (push) Waiting to run
* flatten unserializable query dependencies

* avoid allocating intermediary serialized dependency edges
2025-08-13 20:49:01 +00:00
Micha Reiser
e5bd9eb673
refactor: Remove tracked structs from query outputs (#969)
* refactor: Remove tracked structs from outputs

* clean up

* fix `IdentityMap::is_active`

* Update persistence snapshot

* Perf?

* Other nit

* Remove Deref

* Split `diff_stale_outputs`

* More short circuits

* Remove shrink to fit?

* Undo shrink-to-fit removal

* Pass CompletedQuery to diff_outputs

---------

Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
2025-08-12 09:48:58 +00:00
Ibraheem Ahmed
1ffb32f54c
Initial persistent caching prototype (#967)
Some checks are pending
Book / Book (push) Waiting to run
Book / Deploy (push) Blocked by required conditions
Release-plz / Release-plz PR (push) Waiting to run
Release-plz / Release-plz release (push) Waiting to run
Test / Test (push) Waiting to run
Test / Miri (push) Waiting to run
Test / Shuttle (push) Waiting to run
Test / Benchmarks (push) Waiting to run
* persistent caching prototype

* move serialization arguments under `persist` attribute

* move `serde` dependency under `persistence` feature

* avoid serializing provisional memos

* use exhaustive checking for manual `Serialize` implementations

* update tests

* remove distinction between ingredient `entries` and `instances`

* avoid enabling `shuttle` feature in CI

* serialize ingredients by index
2025-08-11 19:02:49 +00:00