You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2021/07/15 13:43:00 UTC

[jira] [Resolved] (CSV-278) Reuse Buffers in Lexer for Delimiter Detection

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

Gary D. Gregory resolved CSV-278.
---------------------------------
    Fix Version/s: 1.9.0
       Resolution: Fixed

> Reuse Buffers in Lexer for Delimiter Detection
> ----------------------------------------------
>
>                 Key: CSV-278
>                 URL: https://issues.apache.org/jira/browse/CSV-278
>             Project: Commons CSV
>          Issue Type: Sub-task
>            Reporter: David Mollitor
>            Priority: Minor
>             Fix For: 1.9.0
>
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> When a character is read, and it could be the first character of the delimiter, a look-ahead is performed on the stream to determine if this will be the delimiter.  This look ahead initiates a new buffer to read into for each call.  This can cause overhead and much more turn in the heap.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)