mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-06 03:09:11 -06:00
Used to be that an NBS table was named by hashing the hashes of every chunk present in the table, in hash order. That means that to generate the name of a table you'd need to iterate the prefix map and load every associated suffix. That would be expensive when e.g. compacting multiple tables. This is waaay cheaper and only slightly more likely to wind up with a name collision. Toward #3411