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

Unify JavaScript lazy and eager object conversion logic

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.4.0-rc2
    • Component/s: JavaScript
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      There is currently a lot of duplicated code in mongoToV8(), mongoToLZV8() and mongoToV8Element(). We should unify this code.

      It may also be worth implementing a more efficient lazy loading technique (e.g. use eager loading if the object is small enough or has been accessed some number of times).

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            benjamin.becker Ben Becker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: