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

Allow some printing operations directly from CSVFormat

    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

        1. commons-csv-182.diff
          21 kB
          Gary D. Gregory

        Issue Links

          Activity

            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: