[ 
https://issues.apache.org/jira/browse/CSV-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Mollitor updated CSV-277:
-------------------------------
    Summary: Review Lexer simpleToken for Performance  (was: Do not Extend 
BufferedReader in ExtendedBufferedReader)

> Review Lexer simpleToken for Performance
> ----------------------------------------
>
>                 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)

Reply via email to