You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think most of the data structures from model.rs that we put into sets and hash maps implement Clone (or they could). Right now everything in the reasoner.rs state collections is in Rc, e.g.,
how does this affect speed and overall memory usage?
All the model structures should be considered immutable. Does that affect the clone implementation? Can we implement something that doesn't deep copy all nested structures?
The text was updated successfully, but these errors were encountered:
Here are docs on this for
im
: https://docs.rs/im/latest/im/#valuesI think most of the data structures from
model.rs
that we put into sets and hash maps implementClone
(or they could). Right now everything in thereasoner.rs
state collections is in Rc, e.g.,if we make everything more like
how does this affect speed and overall memory usage?
All the model structures should be considered immutable. Does that affect the clone implementation? Can we implement something that doesn't deep copy all nested structures?
The text was updated successfully, but these errors were encountered: