Ruby Forum Ruby-core > [Feature #481] improved gcd for 1.9

Posted by Anonymous (Guest)
on 23.08.2008 21:07
(Received via mailing list)
Feature #481: improved gcd for 1.9
http://redmine.ruby-lang.org/issues/show/481

Author: Anonymous
Status: Open, Priority: Normal

Mentioned here:
http://rubyforge.org/tracker/?group_id=426&atid=1698&func=detail&aid=19034
This improves gcd performance by about 300%
I assume this patch is still valid, if not I could come up with a new 
one.
Thanks!
-=R
Posted by Yuki Sonoda (Guest)
on 28.09.2008 11:07
(Received via mailing list)
Issue #481 has been updated by Yuki Sonoda.

Category set to lib
Status changed from Open to Rejected

I think embedding of Rational already made same result. It internally 
uses long type of C for Fixnums.

This patch may be still meaningful for 1.8. But extension of Fixnum 
needs discussion.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/481