Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15709

RecordStore::Iterator::dataFor() to not take loc as an argument

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Storage
    • None

    Description

      RecordStore::Iterator can do a better job optimizing (and caching) dataFor() if it doesn't take any arguments and returns the data for the current position. All of the current uses of dataFor() use it only to return data for the current position, anyway.

      Patch in the attachment.

      Attachments

        Activity

          People

            Unassigned Unassigned
            igor Igor Canadi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: