Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #12842 from kuldeepaggarwal/array_split | Guillermo Iguaran | 2013-11-11 | 1 | -3/+3 |
|\ | | | | | Speed up Array#split when block is passed | ||||
| * | Speed up Array#split | KD | 2013-11-11 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | Ruby 2.0.0p247 Rehearsal --------------------------------------- old 10.670000 0.150000 10.820000 ( 10.822651) new 8.520000 0.050000 8.570000 ( 8.571825) ----------------------------- total: 19.390000sec user system total real old 10.620000 0.170000 10.790000 ( 10.790409) new 8.570000 0.110000 8.680000 ( 8.686051) | ||||
* | | Merge pull request #12841 from kuldeepaggarwal/in-group-documentation | Yves Senn | 2013-11-10 | 1 | -1/+1 |
|\ \ | |/ |/| | Array#in_groups: documentation updated [ci skip] | ||||
| * | Array#in_groups: documentation updated | KD | 2013-11-11 | 1 | -1/+1 |
| | | |||||
* | | Array#split preserving the calling array | KD | 2013-11-11 | 1 | -2/+2 |
|/ | |||||
* | Simplify Array#in_groups_of code | Akira Matsuda | 2013-07-10 | 1 | -3/+1 |
| | |||||
* | Speed up Array#split | Akira Matsuda | 2013-07-10 | 1 | -6/+20 |
| | | | | | | | Benchmark: user system total real old 0.510000 0.000000 0.510000 ( 0.506749) new 0.330000 0.000000 0.330000 ( 0.336187) | ||||
* | Use faster Array.new instead of []*padding | Vipul A M | 2013-05-02 | 1 | -1/+1 |
| | |||||
* | Simplify (and optimize) | Marc-Andre Lafortune | 2012-11-16 | 1 | -3/+3 |
| | |||||
* | Use Integer#div instead of Integer#/ to avoid side effects from mathn | Marc-Andre Lafortune | 2012-11-16 | 1 | -1/+1 |
| | |||||
* | update AS/core_ext docs [ci skip] | Francesco Rodriguez | 2012-09-12 | 1 | -2/+2 |
| | |||||
* | Update examples of Array #in_groups and #in_groups_of | Alexey Vakhov | 2012-05-25 | 1 | -10/+13 |
| | | | | | Examples should be not square to visually underline a difference between Array#in_groups and Array#in_groups_of. | ||||
* | AS core_ext refactoring pt.2 | Alexey Gaziev | 2012-04-29 | 1 | -4/+2 |
| | |||||
* | requiring enumerator is not nessessary in ruby 1.9 | Sergey Nartimov | 2011-12-20 | 1 | -2/+0 |
| | |||||
* | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-11 | 1 | -1/+1 |
| | |||||
* | Convert array extension modules to class reopens | Jeremy Kemper | 2009-03-21 | 1 | -93/+87 |
| | |||||
* | Merge docrails | Pratik Naik | 2008-09-13 | 1 | -6/+6 |
| | |||||
* | Performance: grouping helpers should use yield instead of block as argument. ↵ | miloops | 2008-07-30 | 1 | -5/+5 |
| | | | | [#723 state:resolved] | ||||
* | Add in_groups to ActiveSupport::CoreExtensions::Array::Grouping. [#579 ↵ | Adrian Mugnolo | 2008-07-15 | 1 | -2/+45 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Improve documentation. | Pratik Naik | 2008-04-05 | 1 | -8/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve documentation. | Pratik Naik | 2008-03-26 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Clarify Array#in_groups_of implementation, don't dup unless needed, only ↵ | Jeremy Kemper | 2007-11-17 | 1 | -7/+20 |
| | | | | | | require enumerator once. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Don't pad remaining places with in_groups_of if specified padding value is ↵ | Marcel Molina | 2006-09-02 | 1 | -2/+11 |
| | | | | | | false. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Array#to_s(:db) that'll produce a comma-separated list of ids [DHH] ↵ | David Heinemeier Hansson | 2006-05-31 | 1 | -0/+46 |
Split Grouping into its own file git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |