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

Allow ImmutableNormalizedNodeStreamWriter to be reused

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: