4 ms·
There is a discussion of deep vs shallow hashes. Take Datomic or Datascript for instance. Very shallow datastructures, with a defined schema. Indexes to make th
by calibraxis 11y ago
There is a discussion of deep vs shallow hashes. Take Datomic or Datascript for instance. Very shallow datastructures, with a defined schema. Indexes to make this fast.
There’s tradeoffs. Shallow datastructures are under-used.
But OOP objects share fundamental flaws with deep hashes. (And add some more.)