Skip to content

Faster fmt::Display of 128-bit integers, without unsafe pointer#136594

Merged
bors merged 2 commits intorust-lang:masterfrom
pascaldekloe:fmt-int128
Jun 12, 2025
Merged

Faster fmt::Display of 128-bit integers, without unsafe pointer#136594
bors merged 2 commits intorust-lang:masterfrom
pascaldekloe:fmt-int128

Conversation

@pascaldekloe
Copy link
Copy Markdown
Contributor

In followup of #135265, hereby the 128-bit part.

  • Batches per 16 instead of 19 digits
  • Buffer access as array insteaf of unsafe pointer
  • Added test coverage for i128 and u128

r? tgross35 ChrisDenton

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants