Issue #2561 has been updated by Kurt  Stephens.

File rational_performance.rb added
File ruby-1.8.7-rational.patch added

New version:

Avoid additional method calls to Float(), call #to_f directly. Avoid Rational() when its clear that denominator will never be 1.


----------------------------------------
http://redmine.ruby-lang.org/issues/show/2561

----------------------------------------
http://redmine.ruby-lang.org