This is a complete rewrite of the project, using a more efficient and flexible design based around the concept of a forward-only "view" into the source document. Some capabilities are regressed in this initial implementation, including built-in non-UTF-8 support and some of the writer functionality.
Benchmark results compared to the old Reader implementation:
Follow-up work will be to implement new features and optimizations. Aside from the core design, very little attempt at optimizing the code has been made so far.
This is a complete rewrite of the project, using a more efficient and flexible design based around the concept of a forward-only "view" into the source document. Some capabilities are regressed in this initial implementation, including built-in non-UTF-8 support and some of the writer functionality.
Benchmark results compared to the old
Reader
implementation: