Skip to content

Conversation

@qwwdfsad
Copy link
Member

The performance of String-related code is now on-par with dev

@qwwdfsad qwwdfsad requested a review from sandwwraith August 13, 2021 15:10
) : AbstractJsonLexer() {
private var threshold: Int = DEFAULT_THRESHOLD // chars

constructor(i: InputStream, charset: Charset) : this(i.reader(charset).buffered(READER_BUF_SIZE))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, have you investigated READER_BUF_SIZE / BATCH_SIZE?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, only decoding part not relevant to the streams support

@qwwdfsad qwwdfsad merged commit 365ac9c into jvm-streams-integration Aug 17, 2021
@qwwdfsad qwwdfsad deleted the streams-perf branch August 17, 2021 15:12
sandwwraith pushed a commit that referenced this pull request Aug 23, 2021
* Performance-friendly JsonLexer
sandwwraith pushed a commit that referenced this pull request Sep 3, 2021
* Performance-friendly JsonLexer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants