Skip to content

od: replace byteorder with std endian methods - #14094

Merged
sylvestre merged 1 commit into
uutils:mainfrom
wtcpython:remove-byteorder
Aug 23, 2026
Merged

od: replace byteorder with std endian methods#14094
sylvestre merged 1 commit into
uutils:mainfrom
wtcpython:remove-byteorder

Conversation

@wtcpython

Copy link
Copy Markdown
Contributor

Replace the external byteorder dependency in uu_od with standard library <$type>::from_{le,be,ne}_bytes methods.

@codspeed-hq

codspeed-hq Bot commented Aug 23, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 3.17%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
✅ 356 untouched benchmarks
⏩ 50 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation du_summarize_balanced_tree[(5, 4, 10)] 16.8 ms 16.3 ms +3.17%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing wtcpython:remove-byteorder (ef0b3cd) with main (92cbd2f)

Open in CodSpeed

Footnotes

  1. 50 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

GNU test failed: tests/sort/sort-NaN-infloop. tests/sort/sort-NaN-infloop is passing on 'main'. Maybe you have to rebase?
Skipping an intermittent issue tests/cut/bounded-memory (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/symlink (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/rm/many-dir-entries-vs-OOM is now passing!
Note: The gnu test tests/misc/write-errors was skipped on 'main' but is now failing.

@sylvestre
sylvestre merged commit b2091c6 into uutils:main Aug 23, 2026
169 of 171 checks passed
@wtcpython
wtcpython deleted the remove-byteorder branch August 24, 2026 00:10
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