Database Value Equality

At present, the Datomic API does not make any promises about the hashCode or equals methods of a db value, so you should not rely on them doing anything more than identity.

Can you tell us more about your use of memoization? What problem is it solving? How do you expire the memo to prevent unbounded memory growth?