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

Unify JavaScript lazy and eager object conversion logic

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.4.0-rc2
    • JavaScript
    • None
    • Fully Compatible

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: