Range interface for std.serialization

Jacob Carlborg doob at me.com
Thu Oct 10 06:25:53 PDT 2013


On 2013-10-10 14:13, Dicebot wrote:

> I thought the very point of output ranges is that you can output in any
> chunks that seem most convenient / efficient to you.

Outputting it like the first suggestion will be a lot more convenient, 
especially how std.xml currently works. Although it will probably not be 
as efficient. This basically means a complete object graph will be 
outputted in one chunk. That is, unless the top element is a range.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list