Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-277 Review Lexer simpleToken for Performance
  3. CSV-278

Reuse Buffers in Lexer for Delimiter Detection

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.9.0
    • None
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 40m
                2h 40m