Don't Merge Sets With Themselves in Mongoid::Callbacks#cascadable_children.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.0.10
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In Mongoid::Callbacks#cascadable_children, a Set instance is merged with itself, which doesn't do anything. Except, when the set is large, it takes up time.

            Assignee:
            Unassigned
            Reporter:
            yfeldblum
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: