Skip to content

Create cache to optimize. #430

Done

Description

@hanbings

Performance can be significantly improved by caching some data:

  • This optimization aims to improve performance when traversing a file and need to access the file's Metadata multiple times. Wrap walkdir::DirEntry in a new type #436
  • Speed ​​up operations such as getting user and group names from uid and gid.

We should create a centralized cache object and then provide a corresponding interface for the entire program to obtain data.

Activity

  1. changed the title [-]Cache the metadata[/-] [+]Cache the `metadata`.[/+] on Aug 1, 2024
  2. changed the title [-]Cache the `metadata`.[/-] [+]Cache the `Metadata`.[/+] on Aug 1, 2024
  3. changed the title [-]Cache the `Metadata`.[/-] [+]Create cache to optimize.[/+] on Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions