diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-20 10:09:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-20 10:09:14 +0000 |
commit | 584a9e6fdee330789293ea2bb0438fc90c3a62ed (patch) | |
tree | d52e358482920ab843d87eee5c7568263265094e /GPL | |
parent | 94f28031275153924496e6ffe41d3e5431a8ffea (diff) | |
download | ruby-584a9e6fdee330789293ea2bb0438fc90c3a62ed.tar.gz |
bignum.c: micro optimization
* bignum.c (rb_big_cmp): micro optimization of Fixnum comparison.
as SIGNED_VALUE and Fixnum have same sign-bits and same order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'GPL')
0 files changed, 0 insertions, 0 deletions