5 ms·
Ehh, relational databases already proved that "sets" are the true universal data structures. Anything can be built upon them, including (hash)maps.
by amelius 11y ago
Ehh, relational databases already proved that "sets" are the true universal data structures. Anything can be built upon them, including (hash)maps.
- mamcx 11y agoAny info about this, with examples?
- dragonwriter 11y agoA relation is equivalent to a map from its key to its non-key attributes. (A hash-map is just an implementation detail in how a map/relation is implemented.) So, really, that's not a different universal data structure.
- yxhuvud 11y agoWell, and sets can be built by maps, so they are clearly of the same constructive strength in that regard.