Closed bblommers closed 4 months ago
The previous implementation would call parse() recursively for every document at the root level.
parse()
If a file contains more than 300 documents, that quickly becomes a problem.
This PR changes the JsonParser to yield documents instead as and when they come, improving performance and removing the need for any recursion
The previous implementation would call
parse()
recursively for every document at the root level.If a file contains more than 300 documents, that quickly becomes a problem.
This PR changes the JsonParser to yield documents instead as and when they come, improving performance and removing the need for any recursion