aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/actionpack.gemspec
diff options
context:
space:
mode:
authoryury <yury.korolev@gmail.com>2010-08-24 23:31:48 +0400
committerJosé Valim <jose.valim@gmail.com>2010-08-28 17:54:50 -0300
commit3e22e0b0250e1386f68ebbdb7f23ae10888f5da6 (patch)
treea27dc1ddc5562c31589d2a1d219661ac6f16b794 /actionpack/actionpack.gemspec
parentececa75c66e837e62d34b1aa4e82edf579325b9b (diff)
downloadrails-3e22e0b0250e1386f68ebbdb7f23ae10888f5da6.tar.gz
rails-3e22e0b0250e1386f68ebbdb7f23ae10888f5da6.tar.bz2
rails-3e22e0b0250e1386f68ebbdb7f23ae10888f5da6.zip
Micro optimization for build_named_route_call in PolymorphicRoutes:
1. use map instead of inject 2. use [].join("_") instead of '<<'. It is a little bit faster for ruby 1.9.2 and x2 faster for ruby 1.8.7. http://gist.github.com/548143 [#5450 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/actionpack.gemspec')
0 files changed, 0 insertions, 0 deletions