diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-20 09:53:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-20 09:53:50 +0000 |
commit | be05c5798fd73c951228eeac95b0e164a2aed142 (patch) | |
tree | 996c1366d33af40280a96b8c477594a3c0ccd653 /bignum.c | |
parent | cb390bef8ae68a766a1a46f71fecbf7d31a9a9cc (diff) | |
download | ruby-be05c5798fd73c951228eeac95b0e164a2aed142.tar.gz |
numeric.c: optimize Fixnum<->Bignum comparisons
* numeric.c (fix_gt, fix_ge, fix_lt, fix_le): optimize comparisons
Fixnum against Bignum by rb_big_cmp in inversed order without
new Bignum instance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
0 files changed, 0 insertions, 0 deletions