Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Improve globbing by getting size at the time we find files#249

Merged
skx merged 2 commits into
masterfrom
faster/glob
Jun 17, 2025
Merged

Improve globbing by getting size at the time we find files#249
skx merged 2 commits into
masterfrom
faster/glob

Conversation

@skx

@skx skx commented Jun 17, 2025

Copy link
Copy Markdown
Owner

This stops having to stat files post-find, instead we can save away the size as we find the files.

(ie. We use filepath.Walk instead of os.ReadDir so we get access to the fs.FileInfo immediately.)

skx added 2 commits June 17, 2025 18:09
This stops having to stat files post-find, instead we can save
away the size as we find the files.

(ie.  We use filepath.Walk instead of os.ReadDir so we get access
to the fs.FileInfo immediately.)
@skx skx merged commit ebacf30 into master Jun 17, 2025
1 check passed
@skx skx deleted the faster/glob branch June 17, 2025 15:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant