You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2021/07/12 20:56:00 UTC
[jira] [Updated] (CSV-277) Do not Extend BufferedReader in
ExtendedBufferedReader
[ https://issues.apache.org/jira/browse/CSV-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Mollitor updated CSV-277:
-------------------------------
Attachment: CSVCapture.PNG
> Do not Extend BufferedReader in ExtendedBufferedReader
> ------------------------------------------------------
>
> Key: CSV-277
> URL: https://issues.apache.org/jira/browse/CSV-277
> Project: Commons CSV
> Issue Type: Improvement
> Reporter: David Mollitor
> Priority: Major
> Attachments: CSVCapture.PNG
>
>
> {{BufferedReader}} is a synchronized method class which means that every call to {{read}} requires synchronization.
> Usually it's not an issue, but for {{commons-csv}}, it adds a lot of overhead because it reads each byte one at a time. So even though it's buffered, it has to go through a synchronization processes for each byte read.
> Change {{ExtendedBufferedReader}} to implement its own internal buffer.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)