Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh endians2 #160

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Refresh endians2 #160

merged 2 commits into from
Dec 3, 2024

Conversation

arnetheduck
Copy link
Member

  • speed up conversions by unrolling bulk limb conversion
  • remove default from toBytes/fromBytes - the existing default did not match stew/endians2 which is an unnecessary risk - rather than changing it to match, the safer option is to remove it for now so that code in the wild gets a compile error
  • deprecate redundant names like toByteArrayXX (toBytesXX etc do the same thing)
  • deprecate staticFor (now lives in stew)

* speed up conversions by unrolling bulk limb conversion
* remove default from `toBytes`/`fromBytes` - the existing default did
not match `stew/endians2` which is an unnecessary risk - rather than
changing it to match, the safer option is to remove it for now so that
code in the wild gets a compile error
* deprecate redundant names like `toByteArrayXX` (`toBytesXX` etc do the
same thing)
* deprecate staticFor (now lives in stew)
some weird 1.6 error
@arnetheduck arnetheduck merged commit b06bb21 into master Dec 3, 2024
12 checks passed
@arnetheduck arnetheduck deleted the new-endians branch December 3, 2024 12:16
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.

1 participant