Luca Mondada
Luca Mondada
Update: there is a LOT of boilerplate code that needs to be written for serialisation... I don't see a way around that other than with custom proc macros. See https://github.com/CQCL/hugr/pull/2258
We have landed on the following solution (thanks @zrho for the suggestion) - for every composed Hugr type in the hugr crate (e.g. SimpleReplacement, PersistentHugr, create an equivalent serial type,...
@ss2165 this should be ready to be reviewed now! See if this is what you had in mind. Once this is merged in, you can also merge in https://github.com/CQCL/hugr/pull/2277. Thanks...
Superseded by https://github.com/CQCL/hugr/pull/2300
Hi @gluonhiggs, thanks for your contribution! I should be able to get to your PR later today :) You'll hear from me!
Thank you!
My new commit (incoming) solves the memory bottleneck, and I am getting decent results in benchmarking. The first line is the result using the dynamic toposort, the second is a...
Points 2-3 from above are resolved. I am not sure how to solve the first point -- I'm hoping you have a suggestion, so I'll mark this as ready for...
I have resolved the last open point mentioned above (point 1) by only implementing the `IntoXYZ` traits for `Graph` and `StableGraph` using a macro. This should cover most simple use...