Skip to content

Improve TransactionAwareBufferedWriter efficiency [BATCH-2434] #1166

Closed
@spring-projects-issues

Description

@spring-projects-issues

Philippe Marschall opened BATCH-2434 and commented

TransactionAwareBufferedWriter offers a number of optimization potentials. First it buffers at the char level. Buffering at the byte level instead saves about 50% memory usage in common cases. Second it does not overwrite any of the #write(String) methods leading to unnecessary intermediate copies.

Together these two changes should help to reduce both live set size and allocation rate.


Referenced from: pull request #387

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions