Markus Jung created JOHNZON-403: ----------------------------------- Summary: Improve performance when parsing large Strings Key: JOHNZON-403 URL: https://issues.apache.org/jira/browse/JOHNZON-403 Project: Johnzon Issue Type: Improvement Components: Core Reporter: Markus Jung Fix For: 2.1.0
when a string larger than the value buffer size is encountered the buffer gets resized (recreated and existing content is copied to a new, larger buffer) This is obviously a quite expensive thing to do, we should instead just keep track of existing (already full) buffers and create new ones as we need to See https://lists.apache.org/thread/h9wj9vb8p729xyy7qzj6t1cbvdrv2nm4 for romains initial idea -- This message was sent by Atlassian Jira (v8.20.10#820010)