Simple optimizations of BsonDocument encoding and decoding

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.4.0
    • Affects Version/s: None
    • Component/s: Codecs, Performance
    • None
    • Java Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      • 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:
              Slav Babanin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: