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

Add a dedicated ANTLR token factory

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 6.0.0, 4.0.14, 5.0.6, 3.0.17
    • parser
    • None

    Description

      Examining a heap dump for YANG parser before actual parsing reveals ANTLR can end up eating quite a bit of memory for its CommonToken instances. As it turns out, we can probably do much better by providing a customized token factory.

      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: