Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a way to express a selector which only walks or matches HAMTs #37

Closed
magik6k opened this issue Sep 28, 2022 · 1 comment · Fixed by #38
Closed

Add a way to express a selector which only walks or matches HAMTs #37

magik6k opened this issue Sep 28, 2022 · 1 comment · Fixed by #38
Labels
help wanted Seeking public contribution on this issue

Comments

@magik6k
Copy link
Member

magik6k commented Sep 28, 2022

Right now it's not possible to write a selector which will only match/walk all blocks of a hamt without loading child nodes (which may mean loading 1000x more data just to list entries in a directory)

@willscott
Copy link
Collaborator

the 'easiest' way to do this will be to add an option for a mode of the ADL that fully loads a sharded directory on node loading, and then register this under a variant name (e.g. unixfs-nonlazy)

@rvagg rvagg added the help wanted Seeking public contribution on this issue label Sep 29, 2022
Repository owner moved this from 🥞 Todo to 🎉 Done in IPLD team's weekly tracker Oct 15, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
help wanted Seeking public contribution on this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants