Skip to content

Conversation

@radik878
Copy link
Contributor

Replace range-over-[]byte with index-based iteration over the string in isHex to avoid the string→[]byte conversion and its allocation.
Preserves behavior (ASCII hex check, odd-length rejection).
Aligns with hexutil validation style and optimizes a path used by IsHexAddress.

@rjl493456442
Copy link
Member

We view this change as non-essential and would prefer to prioritize improvements with clearer impact

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