zookeeper icon indicating copy to clipboard operation
zookeeper copied to clipboard

[ZOOKEEPER-3387] Use BufferedWriter instead of FileWriter

Open bd2019us opened this issue 6 years ago • 3 comments

ZOOKEEPER-3387 When FileWriter is used intensively within a loop, BufferedWriter can be used to improve performance by reducing IO operations.

bd2019us avatar May 11 '19 18:05 bd2019us

Though the build checks have failed due to other reason, the BufferedWriter -> FileWriter changes still remain valid and applicable to the code base

bd2019us avatar May 11 '19 19:05 bd2019us

retest this please

anmolnar avatar May 29 '19 14:05 anmolnar

@bd2019us This patch doesn't compile:

[ERROR] /home/travis/build/apache/zookeeper/zookeeper-jute/target/classes/org/apache/zookeeper/data/Stat.java:[273,17] error: reached end of file while parsing

anmolnar avatar May 29 '19 14:05 anmolnar