digitalmars.D.bugs - [Issue 15198] New: evenChunks - std.range.chunks variant which
- via Digitalmars-d-bugs (19/19) Oct 12 2015 https://issues.dlang.org/show_bug.cgi?id=15198
https://issues.dlang.org/show_bug.cgi?id=15198 Issue ID: 15198 Summary: evenChunks - std.range.chunks variant which slices range into N evenly-sized chunks Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: phobos Assignee: nobody puremagic.com Reporter: thecybershadow gmail.com 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. --
Oct 12 2015