Thread overview | |||||
---|---|---|---|---|---|
|
March 20, 2018 [Issue 18638] The main override of std.range.zip could infer @nogc and nothrow | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18638 --- Comment #1 from Nathan S. <n8sh.secondary@hotmail.com> --- Pull request: https://github.com/dlang/phobos/pull/6307 -- |
March 30, 2018 [Issue 18638] The main override of std.range.zip could infer @nogc and nothrow | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18638 --- Comment #2 from github-bugzilla@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/259cf754bb42ad30039c1b82ea6d43109ecc6c9b Fix Issue 18638 - The main override of std.range.zip could infer @nogc and nothrow ZipShortest impl. a bit more efficient than Zip because doesn't need switch statements with code for each stopping policy. Also in some cases only needs to check one range for `empty` or `length` rather than all. Also correctly handles `back` when ranges have unequal lengths. https://github.com/dlang/phobos/commit/1db9cbedd8c1bf29256c60776b7cba214fb1cc0a Merge pull request #6307 from n8sh/zip-shortest Fix Issue 18638 - The main override of std.range.zip could infer @nogc and nothrow merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com> -- |
March 30, 2018 [Issue 18638] The main override of std.range.zip could infer @nogc and nothrow | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18638 github-bugzilla@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- |
Copyright © 1999-2021 by the D Language Foundation