mirror of
https://github.com/valitydev/yamerl.git
synced 2024-11-06 02:45:23 +00:00
Maintain the input buffer outside of the #yaml_parser state
This removes frequent updates of the buffer and line/column numbers in this state. It's only synchronized before return. The performance gain is about 16% with the source used during bench.
This commit is contained in:
parent
46f645487e
commit
0eb4193ebd
2339
src/yaml_parser.erl
2339
src/yaml_parser.erl
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user