-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create cache to optimize. #430
Labels
Comments
Closed
tavianator
added a commit
to tavianator/findutils
that referenced
this issue
Aug 8, 2024
The new type wraps DirEntry when possible, but also lets us pass a valid entry to matchers when walkdir returns a broken symlink error. It also implements a Metadata cache (part of uutils#430).
tavianator
added a commit
to tavianator/findutils
that referenced
this issue
Aug 8, 2024
The new type wraps DirEntry when possible, but also lets us pass a valid entry to matchers when walkdir returns a broken symlink error. It also implements a Metadata cache (part of uutils#430).
tavianator
added a commit
to tavianator/findutils
that referenced
this issue
Aug 9, 2024
The new type wraps DirEntry when possible, but also lets us pass a valid entry to matchers when walkdir returns a broken symlink error. It also implements a Metadata cache (part of uutils#430).
tavianator
added a commit
to tavianator/findutils
that referenced
this issue
Aug 9, 2024
The new type wraps DirEntry when possible, but also lets us pass a valid entry to matchers when walkdir returns a broken symlink error. It also implements a Metadata cache (part of uutils#430).
tavianator
added a commit
to tavianator/findutils
that referenced
this issue
Aug 9, 2024
The new type wraps DirEntry when possible, but also lets us pass a valid entry to matchers when walkdir returns a broken symlink error. It also implements a Metadata cache (part of uutils#430).
tavianator
added a commit
to tavianator/findutils
that referenced
this issue
Aug 11, 2024
The new type wraps DirEntry when possible, but also lets us pass a valid entry to matchers when walkdir returns a broken symlink error. It also implements a Metadata cache (part of uutils#430).
tavianator
added a commit
to tavianator/findutils
that referenced
this issue
Aug 12, 2024
The new type wraps DirEntry when possible, but also lets us pass a valid entry to matchers when walkdir returns a broken symlink error. It also implements a Metadata cache (part of uutils#430).
hanbings
added a commit
that referenced
this issue
Aug 14, 2024
* Add -follow support. * tests/find: Serialize find_time() find_time() relies on the working directory, but e.g. delete_on_dot_dir() will temporarily change directories, causing find_time() to fail when run in parallel. * find: Don't use uutils::error::set_exit_code() The global exit code can polute the results of other tests. Link: uutils/coreutils#5777 * find: New WalkEntry wrapper The new type wraps DirEntry when possible, but also lets us pass a valid entry to matchers when walkdir returns a broken symlink error. It also implements a Metadata cache (part of #430). * find: Implement -H, -L, -P flags * find: Fix -follow -samefile * find: Fix -follow -newer * find: Implement -xtype * find: Fix -delete error handling --------- Co-authored-by: hanbings <hanbings@hanbings.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Performance can be significantly improved by caching some data:
Metadata
multiple times. Wrap walkdir::DirEntry in a new type #436user
andgrou
p names fromuid
andgid
.We should create a centralized cache object and then provide a corresponding interface for the entire program to obtain data.
The text was updated successfully, but these errors were encountered: