Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-5523

Move all optimizations from AstExpression to AstSimplifier

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Linq
    • None
    • None
    • Dotnet Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      When generating MQL for LINQ expressions we apply a number of optimizations/simplifications to improve the MQL we generate.

      Currently some of these optimizations happen early in AstExpression while the AST tree is being built, and others happen late in the AstSimplifier as a post-processing step.

      It could be helpful to have all optimizations happen in the same place, and the AstSimplifier seems like the best place for that.

            Assignee:
            Unassigned Unassigned
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None