[CXX-1500] document::view::find should use bson_iter...w_len functions Created: 23/Jan/18  Updated: 28/Oct/23  Resolved: 23/Jul/18

Status: Closed
Project: C++ Driver
Component/s: BSON, Performance
Affects Version/s: None
Fix Version/s: 3.4.0

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-2755 Inconsistent handling of empty keys i... Closed
depends on CDRIVER-2414 bson_iter{_init}_find should have len... Closed
depends on CXX-1498 Upgrade to C driver 1.10 Closed
is depended on by CXX-1501 Use bson_append...w_len functions whe... Closed
Epic Link: libbson iter api
Backwards Compatibility: Fully Compatible

 Description   

The new iter..._w_len functions in the next version of the C driver will allow document::view::find to avoid some needless calls to strlen, making it somewhat faster.



 Comments   
Comment by Githook User [ 23/Jul/18 ]

Author:

{'username': 'kevinAlbs', 'name': 'Kevin Albertson', 'email': 'kevin.albertson@10gen.com'}

Message: CXX-1500 Use find_w_len in view::find
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/9fd9acfca8ca0584fd0391f866492e489a46be5d

Generated at Wed Feb 07 22:02:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.