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

Assemble ASTSchemaSources in parallel

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 3.0.8, 4.0.5, 2.1.16
    • None
    • maven plugin
    • None

      When yang-maven-plugin populates YangParser with local modules it acquires ASTSchemaSource representation of each of them. This is needed to ascertain the module identity and also acts as an intermediate step to SchemaContext assembly.

      If there is a large number of local models, or if they are large, this can take significant amount of time. Since this process is isolated to a particular file, we can make this parallel by leveraging the common pool – hence text-to-AST will be done in parallel, speeding up wall time.

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

              Created:
              Updated:
              Resolved: