Skip to content

wc: move POSIXLY_CORRECT fetch to uumain#10955

Closed
xtqqczze wants to merge 1 commit intouutils:mainfrom
xtqqczze:wc/is_posixly_correct
Closed

wc: move POSIXLY_CORRECT fetch to uumain#10955
xtqqczze wants to merge 1 commit intouutils:mainfrom
xtqqczze:wc/is_posixly_correct

Conversation

@xtqqczze
Copy link
Copy Markdown
Contributor

No description provided.

@sylvestre
Copy link
Copy Markdown
Contributor

sorry but why ? :)

@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Congrats! The gnu test tests/env/env-signal-handler is now passing!

@xtqqczze
Copy link
Copy Markdown
Contributor Author

sorry but why ? :)

I was hoping to see a performance improvement by fetching the env var just once

@sylvestre
Copy link
Copy Markdown
Contributor

getting variable from env is almost free :)

@xtqqczze
Copy link
Copy Markdown
Contributor Author

getting variable from env is almost free :)

we were looping, but clearly not a hot loop

@xtqqczze xtqqczze closed this Apr 16, 2026
@xtqqczze xtqqczze deleted the wc/is_posixly_correct branch April 16, 2026 11:55
@xtqqczze
Copy link
Copy Markdown
Contributor Author

Superseded by #11853

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