Skip to content

Read from &[u8] instead of using stringreader#20

Merged
bladecoder merged 1 commit intobladecoder:mainfrom
inquisitivecrystal:read-bytes
May 14, 2025
Merged

Read from &[u8] instead of using stringreader#20
bladecoder merged 1 commit intobladecoder:mainfrom
inquisitivecrystal:read-bytes

Conversation

@inquisitivecrystal
Copy link
Contributor

This change avoids reliance on an unnecessary and deprecated dependency (string reader is deprecated in favor of reading bytes directly). The performance of this approach should also be better because it avoids dynamic dispatch.

This avoids reliance on an unnecessary and deprecated dependency.
The performance should also be better because it avoids dynamic
dispatch.
@bladecoder bladecoder merged commit aa530bf into bladecoder:main May 14, 2025
1 check passed
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