diff options
author | lvl0nax <lvl0nax@gmail.com> | 2016-04-25 09:46:49 +0300 |
---|---|---|
committer | lvl0nax <lvl0nax@gmail.com> | 2016-04-26 09:21:56 +0300 |
commit | ffb1df52c1f8a8e1805e310448eb66665804b5fc (patch) | |
tree | 4e50b7550e85d21b2eb352048ae78aab8b2ddc37 /activesupport/test/core_ext/enumerable_test.rb | |
parent | e007afd3cd7255c752fe8ab7fa24b59526ab95cb (diff) | |
download | rails-ffb1df52c1f8a8e1805e310448eb66665804b5fc.tar.gz rails-ffb1df52c1f8a8e1805e310448eb66665804b5fc.tar.bz2 rails-ffb1df52c1f8a8e1805e310448eb66665804b5fc.zip |
Little perfomance fix for Array#split.
Calculating -------------------------------------
before 40.770k i/100ms
after 58.464k i/100ms
-------------------------------------------------
before 629.568k (± 5.0%) i/s - 3.180M
after 1.159M (± 4.5%) i/s - 5.788M
Diffstat (limited to 'activesupport/test/core_ext/enumerable_test.rb')
0 files changed, 0 insertions, 0 deletions