www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17042] New: [meta] check all range functions for proper

https://issues.dlang.org/show_bug.cgi?id=17042

          Issue ID: 17042
           Summary: [meta] check all range functions for proper laziness
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: greeenify gmail.com
        Depends on: 16326, 16375

Some ranges behave differently when it comes to caching the first element,
while this is not properly defined in the range specs (maybe it should?) - this
meta issue is to check all range functions for a common laziness behavior in
order to avoid confusion or at least documenting if it would have performance
consequences.

--
Dec 30 2016