Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2491

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

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.0.10
    • Affects Version/s: None
    • Component/s: 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 Unassigned
            Reporter:
            yfeldblum yfeldblum
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: