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

Memoize field locations (and other calculated data) for LazyBSONObject

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.7
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: