Files
toml11/toml
ToruNiina 6f950c9ec8 perf: cache current line number in location
`location::line_num()` function used to be implemented by using
`std::count`, so each time the parser encounters a type mismatch,
`std::count` was called with almost whole file. It decelerates the
parsing process too much, so I decided to add `line_number_` member
variable to `location` and add `advance/retrace/reset` to `location`
in order to modify the position that is pointed.
2019-04-12 18:32:46 +09:00
..
2019-03-17 21:16:37 +09:00
2019-03-16 14:27:05 +09:00
2019-03-16 14:27:05 +09:00
2018-12-13 20:44:10 +09:00