Project

General

Profile

Actions

Feature #481

closed

improved gcd for 1.9

Added by Anonymous over 16 years ago. Updated over 13 years ago.

Status:
Rejected
Target version:
[ruby-core:18374]

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

Actions #1

Updated by ko1 (Koichi Sasada) about 16 years ago

  • Assignee set to yugui (Yuki Sonoda)

=begin

=end

Actions #2

Updated by yugui (Yuki Sonoda) about 16 years ago

  • Target version set to 1.9.0-5

=begin

=end

Actions #3

Updated by yugui (Yuki Sonoda) about 16 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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0