Update src/_blog/2023-05-multi-gateway-browser-client.md

Co-authored-by: Marcin Rataj <lidel@lidel.org>
This commit is contained in:
John Turpish
2023-05-22 14:22:46 -04:00
committed by GitHub
parent 3c6ba66c7e
commit 854807950f
@@ -145,7 +145,7 @@ In this case the `data` field isn't really important to us. The `links`, however
###### [HAMT](https://en.wikipedia.org/wiki/Hash_array_mapped_trie) (sharded) Directory
This is for directories with just too many entries in them. The links from this directory node might be entries in the directory or they might be other HAMT nodes referring to the same directory (basically, the directory itself is getting split up over a tree of nodes).
This is for directories with just too many entries in them to fit in a single block. The links from this directory node might be entries in the directory or they might be other HAMT nodes referring to the same directory (basically, the directory itself is getting split up over a tree of nodes).
* If you're coming in from another HAMT node, you might have some unused bits of the hash to select the next child.
* If you have a path, hash the name of the item you're looking for, pop the correct number of bits off the hash, and use it to select which element you're going to next.