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

Optimize usage of jq #56

Merged
merged 3 commits into from
May 22, 2022
Merged

Optimize usage of jq #56

merged 3 commits into from
May 22, 2022

Conversation

Layerex
Copy link
Contributor

@Layerex Layerex commented May 22, 2022

Call jq only once per file, also apply some minor refactors.
Script is about 3.5 times faster now.

in check_not_exists_file
check_not_exists_file => check_if_file_exists
@b3nj5m1n
Copy link
Owner

Wow, thank you so much, this is awesome!

@b3nj5m1n b3nj5m1n merged commit 7fd93c7 into b3nj5m1n:main May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants