Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1946

Explore github.com/goccy/go-reflect performance

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed

      A friend tipped me off to github.com/goccy/go-reflect, which is API compatible with reflect, but does zero allocations. This might help address performance/memory issues in marshaling and unmarshaling.

      There is some risk departing from the core reflect library, but it might be worth an experiment to see what the benefits are.

            Assignee:
            matt.dale@mongodb.com Matt Dale
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: