Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
Not Needed
Description
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.
Attachments
Issue Links
- is related to
-
GODRIVER-494 BSON Codec Redesign
-
- Closed
-
-
GODRIVER-487 BSON marshal/unmarshal perf has degraded significantly vs mgo
-
- Closed
-