This project is archived and is in readonly mode.

Changeset [1bd4d1c67459a91415ee73a8f55d2309c0d62a87] by José Valim

August 9th, 2009 @ 03:56 PM

Optimize Range#sum to use arithmetic progression when a block is not given [#2489].

Signed-off-by: Pratik Naik

Committed by José Valim

  • M activesupport/lib/active_support/core_ext/enumerable.rb
  • M activesupport/test/core_ext/enumerable_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>