>> So in practice, parsing from a character buffer might be the right >> thing, especially because it's not like we necessarily need incremental >> parsing for CSS. > > Rust Readers are currently very slow; they're scheduled to be reworked after > the new scheduler is done. Perhaps we should keep this test case as a > microbenchmark when we redesign the high-level Rust I/O interface.
Using a Reader doesn't imply that we're not reading from a character buffer. I was assuming the first implementation would be something like a StrReader. When you say they are very slow, do you mean any use of the Reader trait, or just the FILE and other implementations? jack. _______________________________________________ dev-servo mailing list [email protected] https://lists.mozilla.org/listinfo/dev-servo

