[JAVA-2142] Optimize one byte BSON CStrings Created: 07/Mar/16  Updated: 19/Oct/16  Resolved: 10/Mar/16

Status: Closed
Project: Java Driver
Component/s: BSON, Performance
Affects Version/s: 3.0.0
Fix Version/s: 3.3.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The 2.x driver has an optimization for one-byte BSON cstrings that was not ported to the 3.x driver. This causes a measurable regression in BSON decoding for this use case, so we should consider doing it.



 Comments   
Comment by Githook User [ 10/Mar/16 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-2142: Optimize decoding one byte BSON strings by using a lookup table
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/3ccc52875c051d4e2c665373850910f1075e2fbc

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