28893c4567
`self.buffer` is a `VecDeque<char>`, meaning that characters are stored on 4B. When reading as we used to do, this means that every 1 byte character we read was turned into 4 bytes, which was turned into 1 byte in `String::extend`. Instead of going through `self.buffer`, use a local `String` to store the characters before pushing them to `string`. |
||
---|---|---|
.. | ||
char_traits.rs | ||
debug.rs | ||
emitter.rs | ||
lib.rs | ||
parser.rs | ||
scanner.rs | ||
yaml.rs |