From: Akinori MUSHA Date: 2008-03-24T21:24:22+09:00 Subject: [ruby-dev:34116] Improving Fixnum#gcd(Fixnum) --pgp-sign-Multipart_Mon_Mar_24_21:24:34_2008-1 Content-Type: text/plain; charset=ISO-2022-JP  常に Integer#gcd(Integer) を使うのは遅いので Fixnum#gcd(Fixnum) を 用意すれば Rational を始めとして性能が大幅改善するよ、とのこと。 http://rubyforge.org/tracker/index.php?func=detail&aid=19034&group_id=426&atid=1698 どうでしょうか。 -- Akinori MUSHA / http://akinori.org/ --pgp-sign-Multipart_Mon_Mar_24_21:24:34_2008-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBH552Ckgvvx5/Z4e4RAtFBAJoCq4sGgwJyhj4spzI/TOevcGSCbQCffIaP 77PI1DLRt6vtcgkye0BMhAI= =X8vQ -----END PGP SIGNATURE----- --pgp-sign-Multipart_Mon_Mar_24_21:24:34_2008-1--