[CDRIVER-2813] Remove BSON_EXTRA_ALIGNMENT option Created: 03/Sep/18 Updated: 16/Oct/23 |
|
| Status: | Backlog |
| Project: | C Driver |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Epic Link: | CDRIVER-4742 | ||||||||||||||||
| 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: |