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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: