This project is archived and is in readonly mode.
Changeset [1bd4d1c67459a91415ee73a8f55d2309c0d62a87] by José Valim
Revision 1bd4d1c67459a91415ee73a8f55d2309c0d62a87,
committed 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 pratiknaik@gmail.com http://github.com/rails/rails/co...
2 changed files
-
M
activesupport/lib/active_support/core_ext/enumerable.rb -
M
activesupport/test/core_ext/enumerable_test.rb