diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-24 08:48:01 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-24 09:19:21 -0200 |
commit | ccdf54d6fcc96e70a2049f9828241037156067d8 (patch) | |
tree | 262e4fd6034993f70cb97a2f78de61e68c2bdc7d /activerecord/activerecord.gemspec | |
parent | d98014cbcb0bf38f4ecd433d945047fc67fccc36 (diff) | |
download | rails-ccdf54d6fcc96e70a2049f9828241037156067d8.tar.gz rails-ccdf54d6fcc96e70a2049f9828241037156067d8.tar.bz2 rails-ccdf54d6fcc96e70a2049f9828241037156067d8.zip |
Refector a bit to remove extra slice iteration and splat call
This yields a small bit of performance improvement when building the
defaults from constraints, specially considering that it's rather common
for constraints to be empty.
Also, there's a bit of duplicated code in here that I have to check
before extracting.
Diffstat (limited to 'activerecord/activerecord.gemspec')
0 files changed, 0 insertions, 0 deletions