Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-988

Allow ImmutableNormalizedNodeStreamWriter to be reused

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 3.0.1, 2.0.19, 2.1.11
    • data-impl
    • None

    Description

      CDS is using NormalizedNodeStreamWriter to receive data in a very predictable environment, which lends itself to reusing NormalizedNodeStreamWriter instance - allowing its ArrayDeque to be allocated only once.

      Add a Reusable variant of this class, which can be reset and reused multiple times.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: