TranslatorSRI/reasoner-pydantic

Add flag for using hash invalidation

Opened this issue · 0 comments

Right now, hashes are cached in the _hash property and then invalidated selectively. This may be slower for write-heavy workloads (those with a lot of calls to invalidate and fewer calls to actually get the hash). It would be nice to be able to more easily toggle this on and off.