Bug 17042 – [meta] check all range functions for proper laziness

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-12-30T08:09:57Z
Last change time
2024-12-01T16:29:10Z
Assigned to
No Owner
Creator
Seb
Depends on
16326, 16375
Moved to GitHub: phobos#10227 →

Comments

Comment #0 by greeenify — 2016-12-30T08:09:57Z
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.
Comment #1 by robert.schadek — 2024-12-01T16:29:10Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10227 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB