Skip to content
  • Sven Brauch's avatar
    Fix a performance issue with multiple calls in a chain · f3d15c67
    Sven Brauch authored
    see unit test from previous commit for an example.
    BUG:316894
    The cause for the issue was calling the parent visitor in the Expression
    Visitor *plus* creating an extra expression visitor. Creating the
    extra visitor is bad enough (n**2 compexity) but additionally calling
    AstDefaultVisitor::visit... will blow it up to exp(n).
    f3d15c67