Feature #481

improved gcd for 1.9

Added by Anonymous over 6 years ago. Updated almost 4 years ago.

[ruby-core:18374]
Status:Rejected
Priority:Normal
Assignee:Yuki Sonoda

Description

=begin
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
=end

History

#1 Updated by Koichi Sasada over 6 years ago

  • Assignee set to Yuki Sonoda

=begin

=end

#2 Updated by Yuki Sonoda over 6 years ago

  • Target version set to 1.9.0-5

=begin

=end

#3 Updated by Yuki Sonoda over 6 years ago

  • Category set to lib
  • Status changed from Open to Rejected

=begin
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.
=end

Also available in: Atom PDF