Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5339

Simple optimizations of BsonDocument encoding and decoding

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Codecs, Performance
    • None
    • Java Drivers

      • BsonArrayCodec should use a BsonTypeCodecMap just like BsonDocumentCodec does
      • BsonArrayCodec shouldn't make a copy of its elements when decoding
      • BsonDocumentCodec shouldn't make a copy of its elements when decoding
      • BsonDocumentCodec should use its BsonTypeCodecMap for encoding, not just decoding
      • BsonDocumentCodec _id field re-ordering could be more efficient

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: