Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-422

Memoize field locations (and other calculated data) for LazyBSONObject

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.7
    • None
    • None
    • None
    • Fully Compatible

    Description

      We tend to actually iterate the field set several times while looking for a particular field. It would make sense to memoize any data we find for later fetches.

      Attachments

        Activity

          People

            brendan Brendan W. McAdams
            brendan Brendan W. McAdams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: