Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2813

Remove BSON_EXTRA_ALIGNMENT option

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: build
    • Labels:
      None

      Description

      A few structs like bson_t and bson_iter_t are declared with 128-byte alignment instead of accepting the compiler default. It's intended to enforce efficient use of the CPU cache, but it leads to obscure problems: CDRIVER-2810CDRIVER-596, CXX-CXX-1678. Remove the flag and the alignment specifiers.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jesse A. Jesse Jiryu Davis
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: