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/13 16:05:00 UTC

[jira] [Updated] (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 ]

David Mollitor updated CSV-278:
-------------------------------
    Description: 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.

> 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
>          Time Spent: 1h 20m
>  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)