Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-182

Allow some printing operations directly from CSVFormat

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.4
    • Printer
    • None

    Description

      Over in Apache Log4j-land, we are working on a GC-free logging epic.

      We try hard to generate as few objects as possible. Right now, we create one CSVPrinter per logging event to create a CSV line for that event.

      In order to get the best memory profile and performance, this ticket proposes to refactor the CSVPrinter and CSVFormat objects to allow a subset of print operations directly from the CSVFormat object.

      I tested this patch with the Log4j Git master and it works.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment