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

v8: speed up $where clause (using read-only, etc)

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • JavaScript
    • None
    • Fully Compatible

    Description

      $where should be optimized since it runs on every single record.
      Things that can speed up:

      • use read-only js object
      • dont set 'obj', ppl can use 'this'. Dont see mention of 'obj' in our doc.
      • dont set 'fullObject', looks like old legacy?

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: