Michel Fortin napisał: > I agree it's important, especially when receiving XML over the network, > but I also think it's important to be able to be able to support > slicing. Imagine all the memory you could save by just making slices of > a memory-mapped file. > > The difficulty is to support both models: the input range model which > requires copying the strings and the slicing model where you're just > taking slices of a string.
These are valid concerns. Yet, in overwhelming majority XML documents come from hard-drive and network -- these are the places we need to drill. I fear that trying to cover every remote use case will render the library incomprehensible. -- Tomek
