Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why isn't multithreading adopted for parsing XNode and constructing MappedStatement here? #2940

Open
yx-Yaoxaing opened this issue Aug 23, 2023 · 1 comment

Comments

@yx-Yaoxaing
Copy link

yx-Yaoxaing commented Aug 23, 2023

    for (XNode context : list) {
      final XMLStatementBuilder statementParser = new XMLStatementBuilder(configuration, builderAssistant, context,
          requiredDatabaseId);
      try {
        statementParser.parseStatementNode();
      } catch (IncompleteElementException e) {
        configuration.addIncompleteStatement(statementParser);
      }
    }
  } ```



  Why isn't multithreading adopted for parsing XNode and constructing MappedStatement here?

@nothingzhl
Copy link
Contributor

In my opinion,There is no need to introduce multithreaded parsing, or that introducing multithreading does not improve performance much, but rather increases the risk of uncertainty -.-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants