Bug 15198 – evenChunks - std.range.chunks variant which slices range into N evenly-sized chunks

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P5
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-10-13T01:41:00Z
Last change time
2016-01-03T14:14:37Z
Keywords
pull
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2015-10-13T01:41:15Z
Split a source range into N chunks of approximately equal length. The source range will be a forward range with known length. Unlike chunks, evenChunks will take a chunk count (not size), and each returned chunk will have either `source.length / N` or `source.length / N + 1` elements.
Comment #1 by dlang-bugzilla — 2015-10-13T01:44:41Z
Comment #2 by github-bugzilla — 2015-10-18T17:02:10Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/04349a9cf415a4a420e4d8ffade0934949b2bc18 fix Issue 15198 - evenChunks - std.range.chunks variant which slices range into N evenly-sized chunks https://github.com/D-Programming-Language/phobos/commit/e23ec6085157101172c417cbb38d40ba3ffdbd9b Merge pull request #3714 from CyberShadow/pull-20151013-014236 fix Issue 15198 - evenChunks - std.range.chunks variant which slices …
Comment #3 by github-bugzilla — 2016-01-03T14:14:37Z
Commits pushed to stable at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/04349a9cf415a4a420e4d8ffade0934949b2bc18 fix Issue 15198 - evenChunks - std.range.chunks variant which slices range into N evenly-sized chunks https://github.com/D-Programming-Language/phobos/commit/e23ec6085157101172c417cbb38d40ba3ffdbd9b Merge pull request #3714 from CyberShadow/pull-20151013-014236