Skip to content

Comments

perf: optimize hex serialization for Index and BlockNumberOrTag#3626

Merged
mattsse merged 6 commits intoalloy-rs:mainfrom
splinter012:main
Feb 4, 2026
Merged

perf: optimize hex serialization for Index and BlockNumberOrTag#3626
mattsse merged 6 commits intoalloy-rs:mainfrom
splinter012:main

Conversation

@splinter012
Copy link
Contributor

Replace manual format! string allocations with alloy_serde::quantity::serialize for hex number serialization in Index and BlockNumberOrTag types.

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add some additional tests

@github-project-automation github-project-automation bot moved this to In Progress in Alloy Jan 31, 2026
@github-project-automation github-project-automation bot moved this from In Progress to Reviewed in Alloy Feb 1, 2026
@mattsse mattsse merged commit cdcc69c into alloy-rs:main Feb 4, 2026
30 checks passed
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants