Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4204

Optimize JSON decoding using set intersection and lookup table

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.7
    • Affects Version/s: None
    • Component/s: JSON, Performance
    • None
    • Python Drivers

      Split from PYTHON-1374:

      Use set intersection to quickly find the $ key (if any) for a BSON type in json_util.object_hook.

      We can optimize JSON decoding using set intersection and a lookup table for better json_util.loads() performance.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: