Skip to content
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

Replace glob with fdir #27

Merged
merged 7 commits into from
Aug 10, 2023
Merged

Replace glob with fdir #27

merged 7 commits into from
Aug 10, 2023

Conversation

thecodrr
Copy link
Contributor

@thecodrr thecodrr commented Aug 10, 2023

Just noticed this in passing and thought it'd be cool to have this action use fdir. You can check the benchmarks here. The replacement is relatively simple and doesn't require too many changes.

In my own testing against glob, fdir is many, many times faster. 9 ops/sec vs 40 ops/sec.

@GrantBirki GrantBirki added the enhancement New feature or request label Aug 10, 2023
Copy link
Owner

@GrantBirki GrantBirki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incredible! Thank you so much for contributing and helping to make this project better ❤️

I see that CI is failing but I have a few fixes I'll apply. For now, I will merge and get your changes into this project and then open a new PR to fix things up before I publish a release. Thank you! 🚀

@GrantBirki GrantBirki merged commit a129906 into GrantBirki:main Aug 10, 2023
3 of 4 checks passed
@GrantBirki GrantBirki mentioned this pull request Aug 10, 2023
@thecodrr thecodrr deleted the use-fdir branch August 10, 2023 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants