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

Remove BSON_EXTRA_ALIGNMENT option

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0
    • Affects Version/s: None
    • Component/s: Build
    • None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: