Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1729

Avoid AutoBoxing in EncodingStats

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.12.0
    • None

    Description

      Use AtomicInteger instead of a Java immutable Integer type which must be un-boxed, and re-boxed each time.

       

      https://www.programcreek.com/2013/10/efficient-counter-in-java/

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: