Skip to content

memory ls/walk/find algorithms #1906

@smorken

Description

@smorken

I was wondering if anyone had considered using a tree-based structure rather than flat structure for the in-memory implementation. For my current experimentation, use case I'm ending up with A LOT of calls to ls via walk and find calls, and that calls startswith very many times when many paths are stored in the flat structuring.

For me the in-memory implementation as it stands is not useable for when you have a significant number of paths. I guess maybe the in-memory implementation is intended more for testing, and less for production?

Any value in pursing an update to the in-memory implementation? Any workarounds or better approaches? I have considered fuse but it's not a cross platform dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions