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

perf(search): remove mapfile subshells #1001

Merged
merged 1 commit into from
Nov 3, 2023
Merged

Conversation

Elsie19
Copy link
Member

@Elsie19 Elsie19 commented Nov 3, 2023

Purpose

We don't have a need for the subshells.

Approach

Replace them with <<< variable redirection.
Also, I replaced readlink -f with realpath which seems to be faster based on my testing.
I also removed a leading glob where there shouldn't be one.

Checklist

  • I confirm that I have read the contributing guidelines, and this pull request is abiding by all the clauses stated in the guideline.

@Elsie19 Elsie19 added release notes Something that is or should be mentioned in the release notes bash For the bash version of Pacstall performance Performance related issues labels Nov 3, 2023
@Elsie19 Elsie19 merged commit c723eb1 into pacstall:develop Nov 3, 2023
5 checks passed
@Elsie19 Elsie19 deleted the idk-search branch November 3, 2023 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bash For the bash version of Pacstall performance Performance related issues release notes Something that is or should be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants