Skip to content

chore: manual inline formatting - tests#7690

Merged
cakebaker merged 1 commit intouutils:mainfrom
nyurik:manual-inline
Apr 8, 2025
Merged

chore: manual inline formatting - tests#7690
cakebaker merged 1 commit intouutils:mainfrom
nyurik:manual-inline

Conversation

@nyurik
Copy link
Contributor

@nyurik nyurik commented Apr 8, 2025

Follow up to the other few lint PRs - keeping test PRs separate to ensure stability

Minor manual cleanup - inlined many format args. This makes the code a bit more readable, and helps spot a few inefficiencies and possible bugs. Note that &foo in a format! parameter results in a 6% extra performance cost, and does not get inlined by the compiler (yet).

Minor manual cleanup - inlined many format args.  This makes the code a bit more readable, and helps spot a few inefficiencies and possible bugs.  Note that `&foo` in a `format!` parameter results in a 6% extra performance cost, and does not get inlined by the compiler (yet).
@nyurik nyurik changed the title chore: manual inline formatting chore: manual inline formatting - tests Apr 8, 2025
@github-actions
Copy link

github-actions bot commented Apr 8, 2025

GNU testsuite comparison:

Skipping an intermittent issue tests/misc/stdbuf (passes in this run but fails in the 'main' branch)

@cakebaker cakebaker merged commit a77e218 into uutils:main Apr 8, 2025
107 of 108 checks passed
@cakebaker
Copy link
Contributor

Thanks!

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