Open ryzhyk opened 6 years ago
I think one way to increase sharing would be to somehow use a Cargo workspace as we have done for the crates below rust/template
. However, I am not sure if nesting of workspaces is possible and how to keep the workspace up-to-date with newly added tests to begin with. So it does not sound like an appealing way to go about that to me, but at the same time it's the only thought that came to mind.
More improvements in #512 and #520.
It appears that a lot of remaining overhead comes from auto-derived trait implementations. So the next step would be to see if we can do better by getting DDlog to generate these trait implementations instead.
Currently every test in
tests/datalog_tests
downloads and compiles its own Rust dependencies, as well as makes its own copy of differential_dataflow, taking a couple of gigabytes of space per test. There must be a way to share common parts across all tests.