
On Mon, Jul 20, 2009 at 17:50, Mathias Gaunard<mathias.gaunard@ens-lyon.org> wrote:
Rogier van Dalen wrote:
I like the idea of the Pipe and related concepts. I am wondering, however, whether the UTF-8 decoding iterator can be fast enough given the current specification. I think Pipe (or another concept) might have to support decoding of exactly one output element. Correct me if I'm wrong.
I don't really understand what you mean. Calling Pipe::ltr or Pipe::rtl only decodes one "element" (utf8 decoding means a multibyte sequence is read and a code point is written, utf8 encoding means a code point is read and a multibyte sequence is written).
Thanks, that explains it—I read the documentation "Reads part of the [begin, end[ range .., writes some elements .. to out" to mean that as much as possible would be read from the range. I guess I should just hold off commenting on these matters until it's finished! Cheers, Rogier