Improve performance of $setIsSubset by replacing std::set with an unordered set

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v5.0, v4.4
    • QE 2021-08-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The $setIsSubset currently uses std::set to creating a lookup table on the RHS array elements. We should replace this with stdx::unordered_set which provides 3-4x performance for large data sets.

            Assignee:
            Rui Liu
            Reporter:
            Arun Banala
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: