Skip to content

Conversation

casperisfine
Copy link

BigNum are expected to be rare, so calling Integer#to_s while not super fast is fast enough and simpler than checking bounds.

Ref: #4

This only does the serialization part as it doesn't really have downsides. For the parsing part, we'll have to see if my patch is accepted upstream etc.

BigNum are expected to be rare, so calling `Integer#to_s` while not
super fast is fast enough and simpler than checking bounds.

Ref: jhawthorn#4
@byroot byroot merged commit c0e1970 into jhawthorn:main May 17, 2023
@casperisfine casperisfine deleted the generate-bignum branch May 17, 2023 09:21
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