Feature #481

improved gcd for 1.9

Added by Anonymous over 7 years ago. Updated over 4 years ago.

Assignee:Yuki Sonoda


Mentioned here:
This improves gcd performance by about 300%
I assume this patch is still valid, if not I could come up with a new one.


#1 Updated by Koichi Sasada about 7 years ago

  • Assignee set to Yuki Sonoda



#2 Updated by Yuki Sonoda about 7 years ago

  • Target version set to 1.9.0-5



#3 Updated by Yuki Sonoda about 7 years ago

  • 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.

Also available in: Atom PDF