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:
Jean-Sébastien Pédron 2011-10-05 10:26:38 +02:00
parent 46f645487e
commit 0eb4193ebd

File diff suppressed because it is too large Load Diff