[GODRIVER-2914] Improvements in marshaling and compression Created: 18/Jul/23  Updated: 05/Feb/24  Resolved: 12/Sep/23

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Improvement Priority: Unknown
Reporter: Qingyang Hu Assignee: Qingyang Hu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before GODRIVER-2948 Follow-up of GODRIVER-2914 Improvemen... Blocked
Problem/Incident
causes GODRIVER-3081 Empty slice no longer encoding/decodi... Closed
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Track the following PRs:
https://github.com/mongodb/mongo-go-driver/pull/1313
https://github.com/mongodb/mongo-go-driver/pull/1320
https://github.com/mongodb/mongo-go-driver/pull/1323



 Comments   
Comment by Githook User [ 08/Nov/23 ]

Author:

{'name': 'Charlie Vieth', 'email': 'charlie.vieth@mongodb.com', 'username': 'charlievieth'}

Message: GODRIVER-2914 bsoncodec/bsonrw: eliminate encoding allocations (#1323)

Co-authored-by: Matt Dale <9760375+matthewdale@users.noreply.github.com>
Co-authored-by: Qingyang Hu <103950869+qingyang-hu@users.noreply.github.com>
Branch: release/1.12
https://github.com/mongodb/mongo-go-driver/commit/cbe8aa445142b518c96377c2265dc0f384eb1056

Comment by Githook User [ 08/Nov/23 ]

Author:

{'name': 'Charlie Vieth', 'email': 'charlie.vieth@mongodb.com', 'username': 'charlievieth'}

Message: GODRIVER-2914 x/mongo/driver: enable parallel zlib compression and improve zstd decompression (#1320)

Co-authored-by: Matt Dale <9760375+matthewdale@users.noreply.github.com>
Branch: release/1.12
https://github.com/mongodb/mongo-go-driver/commit/7f8b1d0b071c2a5c62c05a37d81c7a300707f9d6

Comment by Githook User [ 08/Nov/23 ]

Author:

{'name': 'Charlie Vieth', 'email': 'charlie.vieth@mongodb.com', 'username': 'charlievieth'}

Message: GODRIVER-2914 bson: improve marshal/unmarshal by replacing decoder/encoder caches with sync.Map. (#1313)
Branch: release/1.12
https://github.com/mongodb/mongo-go-driver/commit/e7c715463e4f0fe32c6603ea8d0924e0602ac6b7

Comment by Githook User [ 12/Sep/23 ]

Author:

{'name': 'Charlie Vieth', 'email': 'charlie.vieth@mongodb.com', 'username': 'charlievieth'}

Message: GODRIVER-2914 bsoncodec/bsonrw: eliminate encoding allocations (#1323)

Co-authored-by: Matt Dale <9760375+matthewdale@users.noreply.github.com>
Co-authored-by: Qingyang Hu <103950869+qingyang-hu@users.noreply.github.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/5a5a23150c386afc1e7341da13b30bf58036f414

Comment by Githook User [ 05/Sep/23 ]

Author:

{'name': 'Charlie Vieth', 'email': 'charlie.vieth@mongodb.com', 'username': 'charlievieth'}

Message: GODRIVER-2914 x/mongo/driver: enable parallel zlib compression and improve zstd decompression (#1320)

Co-authored-by: Matt Dale <9760375+matthewdale@users.noreply.github.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/84a43854bbd7c243ce5a68d7b56b3ba4ba10ed05

Comment by Githook User [ 16/Aug/23 ]

Author:

{'name': 'Charlie Vieth', 'email': 'charlie.vieth@mongodb.com', 'username': 'charlievieth'}

Message: GODRIVER-2914 bson: improve marshal/unmarshal by replacing decoder/encoder caches with sync.Map. (#1313)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/6c7e1241b747d2fb5d164c9ca9d17617f33e7899

Generated at Thu Feb 08 08:39:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.