Closed daviddias closed 5 years ago
Is there any reason we didn't use https://github.com/mattbierner/hamt or https://github.com/mattbierner/hamt_plus?
Didn't know about those. We made the JS HAMT way after the GO HAMT
Shame they got the good name on npm already!
Which HAMT encoding are we using? The current one in the dag-pb based unixfs or the one Filecoin is using and, I assume, unixfs-v2 will use https://github.com/ipfs/go-hamt-ipld ?
This module uses hamt-sharding which was extracted from the js-unixfs-engine module and is a vanilla HAMT.
I hadn't seen go-hamt-ipld
but it looks like it uses a CHAMP style HAMT which might or might not be an improvement.
For unixfs-v2
do you know if anyone's done any real-world benchmarks to compare the performance? If not it's probably something we should look at.
Pretty please π₯Ίππ½