[JAVA-3613] Add initial capacity to BsonDocument & BsonArray Created: 28/Jan/20 Updated: 28/Oct/23 Resolved: 15/Jun/21 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | BSON |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Ross Lawley | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Documentation Changes: | Not Needed |
| Description |
|
See community PR's:
|
| Comments |
| Comment by Githook User [ 15/Jun/21 ] |
|
Author: {'name': 'Gaspard Petit', 'email': 'gaspard.petit@eidosmontreal.com', 'username': 'gaspardpetit'}Message: Allocating `BsonArray` using capacity when known Signed-off-by: Gaspard Petit <gaspard.petit@eidosmontreal.com> |
| Comment by Githook User [ 15/Jun/21 ] |
|
Author: {'name': 'Gaspard Petit', 'email': 'gaspard.petit@eidosmontreal.com', 'username': 'gaspardpetit'}Message: Adding BsonArray constructor that allocates an ArrayList with known capacity Signed-off-by: Gaspard Petit <gaspard.petit@eidosmontreal.com> |
| Comment by Githook User [ 15/Jun/21 ] |
|
Author: {'name': 'Gaspard Petit', 'email': 'gaspard.petit@eidosmontreal.com', 'username': 'gaspardpetit'}Message: Adding BsonDocument constructor that allocates an LinkedHashMap with known capacity Signed-off-by: Gaspard Petit <gaspard.petit@eidosmontreal.com> |