Find a way to have a single TranslationContext for $set stage translation

XMLWordPrintableJSON

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

      After hot-fix for CSHARP-5918 we creates multiple TranslationContexts and SerializerMaps, basically one for each member assignment. We can improve the performance and reduce allocation by having the single TranslationContext, by applying partial evaluator to all member values (but not on the entire expression) and after that do a single SerializerFinder run.

            Assignee:
            Unassigned
            Reporter:
            Oleksandr Poliakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: