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

Map over fields with some optimization

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None

      Description

      Allow to map over fields by their symbol name on contextuals. Not only that, it will also do #only for that field for performance reasons. It is about 4x faster. Benchmark.

        Attachments

          Activity

            People

            Assignee:
            durran Durran Jordan
            Reporter:
            goshakkk goshakkk
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: