Skip to content

Conversation

@jeremyevans
Copy link
Contributor

While I'm guessing the INT2NUM calls all generate Fixnums and not Bignums,
it's unwise to rely on that. Calling rb_global_variable directly after
assignment is the pattern used in ossl.c, and it's probably best to do
that here as well.

While I'm guessing the INT2NUM calls all generate Fixnums and not Bignums,
it's unwise to rely on that.  Calling rb_global_variable directly after
assignment is the pattern used in ossl.c, and it's probably best to do
that here as well.
@rhenium rhenium merged commit b3a6894 into ruby:master Aug 8, 2018
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