temporary fork of saphyr with serde support merged into main.
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`. |
||
---|---|---|
parser |