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

Posted by Anonymous (Guest)
on 2008-08-23 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 2008-09-28 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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.