Open av-maurits opened 7 months ago
The requirements for a mutable reference to the cache in combination with returning a reference is problematic. Change this to a form of interior mutability.
It works but it is doubtful whether the new interface is more intuitive (see examples in the added branch)
The requirements for a mutable reference to the cache in combination with returning a reference is problematic. Change this to a form of interior mutability.