-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersperf
Description
I'm using CloudPath.walk to search a large nested directory, but I'm only descending into a very small subset of subdirectories (by removing elements from dirnames). However, it seems the current walk implementation builds the entire file tree in advance before walking. Have you considered an iterative walk similar to os.walk to support sparse searches like this? I imagine this would require more network requests, but possibly save time and data requested if the search is sufficiently sparse. An iterative implementation might also be more consistent with users' expectation, coming from os.walk/Path.walk.
Thanks for this super useful library :)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersperf